public final class R2DepthVarianceBuffer extends Object implements R2DepthVarianceBufferType
R2DepthVarianceBufferType interface.| Modifier and Type | Method and Description |
|---|---|
com.io7m.jareas.core.AreaInclusiveUnsignedLType |
area() |
void |
clearBoundPrimaryFramebuffer(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
Clear the primary framebuffer to render target specific default values,
changing any current render state necessary to achieve this.
|
void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
Delete the current object.
|
R2Texture2DUsableType |
depthVarianceTexture() |
R2DepthVarianceBufferDescriptionType |
description() |
com.io7m.junsigned.ranges.UnsignedRangeInclusiveL |
getRange() |
boolean |
isDeleted() |
static R2DepthVarianceBufferType |
newDepthVarianceBuffer(com.io7m.jcanephora.core.api.JCGLFramebuffersType g_fb,
com.io7m.jcanephora.core.api.JCGLTexturesType g_t,
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType tc,
R2DepthVarianceBufferDescriptionType desc)
Construct a new depth-only buffer.
|
com.io7m.jcanephora.core.JCGLFramebufferUsableType |
primaryFramebuffer() |
public static R2DepthVarianceBufferType newDepthVarianceBuffer(com.io7m.jcanephora.core.api.JCGLFramebuffersType g_fb, com.io7m.jcanephora.core.api.JCGLTexturesType g_t, com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType tc, R2DepthVarianceBufferDescriptionType desc)
g_fb - A framebuffer interfaceg_t - A texture interfacetc - A texture unit contextdesc - The geometry buffer descriptionpublic com.io7m.jcanephora.core.JCGLFramebufferUsableType primaryFramebuffer()
primaryFramebuffer in interface R2RenderTargetUsableType<R2DepthVarianceBufferDescriptionType>public com.io7m.jareas.core.AreaInclusiveUnsignedLType area()
area in interface R2RenderTargetUsableType<R2DepthVarianceBufferDescriptionType>public R2DepthVarianceBufferDescriptionType description()
description in interface R2RenderTargetUsableType<R2DepthVarianceBufferDescriptionType>public com.io7m.junsigned.ranges.UnsignedRangeInclusiveL getRange()
getRange in interface com.io7m.jcanephora.core.JCGLResourceSizedTypepublic boolean isDeleted()
isDeleted in interface com.io7m.jcanephora.core.JCGLResourceUsableTypepublic void delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
throws R2Exception
R2DeletableTypedelete in interface R2DeletableTypeg - An OpenGL interfaceR2Exception - On errorspublic R2Texture2DUsableType depthVarianceTexture()
depthVarianceTexture in interface R2DepthVarianceBufferUsableTypepublic void clearBoundPrimaryFramebuffer(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
throws R2RendererExceptionFramebufferNotBound
R2RenderTargetUsableTypeclearBoundPrimaryFramebuffer in interface R2RenderTargetUsableType<R2DepthVarianceBufferDescriptionType>g - A GL interfaceR2RendererExceptionFramebufferNotBound - If the framebuffer is not
boundCopyright © 2017 <code@io7m.com> http://io7m.com