public final class R2EyeZBuffer extends Object implements R2EyeZBufferType
R2EyeZBufferType
interface.Modifier and Type | Method and Description |
---|---|
com.io7m.junsigned.ranges.UnsignedRangeInclusiveL |
byteRange() |
void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
Delete the current object.
|
R2Texture2DUsableType |
eyeZTexture() |
com.io7m.jcanephora.core.JCGLFramebufferUsableType |
framebuffer() |
boolean |
isDeleted() |
static R2EyeZBufferType |
newEyeZBuffer(com.io7m.jcanephora.core.api.JCGLFramebuffersType g_fb,
com.io7m.jcanephora.core.api.JCGLTexturesType g_t,
com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType tc,
com.io7m.jregions.core.unparameterized.sizes.AreaSizeL area)
Construct a new eye-space Z buffer.
|
com.io7m.jregions.core.unparameterized.sizes.AreaSizeL |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sizeAsViewport
wrap
public static R2EyeZBufferType newEyeZBuffer(com.io7m.jcanephora.core.api.JCGLFramebuffersType g_fb, com.io7m.jcanephora.core.api.JCGLTexturesType g_t, com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType tc, com.io7m.jregions.core.unparameterized.sizes.AreaSizeL area)
g_fb
- A framebuffer interfaceg_t
- A texture interfacetc
- A texture unit contextarea
- The inclusive area of the bufferpublic R2Texture2DUsableType eyeZTexture()
eyeZTexture
in interface R2EyeZBufferUsableType
public com.io7m.jcanephora.core.JCGLFramebufferUsableType framebuffer()
framebuffer
in interface R2EyeZBufferUsableType
public com.io7m.jregions.core.unparameterized.sizes.AreaSizeL size()
size
in interface R2EyeZBufferUsableType
public com.io7m.junsigned.ranges.UnsignedRangeInclusiveL byteRange()
byteRange
in interface com.io7m.jcanephora.core.JCGLResourceSizedType
public boolean isDeleted()
isDeleted
in interface com.io7m.jcanephora.core.JCGLResourceUsableType
public void delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g) throws R2Exception
R2DeletableType
delete
in interface R2DeletableType
g
- An OpenGL interfaceR2Exception
- On errorsCopyright © 2017 <code@io7m.com> http://io7m.com