public final class R2MaskBuffer extends Object implements R2MaskBufferType
R2MaskBufferType 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.
|
R2MaskBufferDescriptionType |
description() |
com.io7m.junsigned.ranges.UnsignedRangeInclusiveL |
getRange() |
boolean |
isDeleted() |
R2Texture2DUsableType |
maskTexture() |
static R2MaskBufferType |
newMaskBuffer(com.io7m.jcanephora.core.api.JCGLFramebuffersType g_fb,
com.io7m.jcanephora.core.api.JCGLTexturesType g_t,
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType tc,
R2MaskBufferDescriptionType desc)
Construct a new mask buffer.
|
com.io7m.jcanephora.core.JCGLFramebufferUsableType |
primaryFramebuffer() |
public static R2MaskBufferType newMaskBuffer(com.io7m.jcanephora.core.api.JCGLFramebuffersType g_fb, com.io7m.jcanephora.core.api.JCGLTexturesType g_t, com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType tc, R2MaskBufferDescriptionType desc)
g_fb - A framebuffer interfaceg_t - A texture interfacetc - A texture unit contextdesc - The mask buffer descriptionpublic R2Texture2DUsableType maskTexture()
maskTexture in interface R2MaskBufferUsableTypepublic com.io7m.jcanephora.core.JCGLFramebufferUsableType primaryFramebuffer()
primaryFramebuffer in interface R2RenderTargetUsableType<R2MaskBufferDescriptionType>public com.io7m.jareas.core.AreaInclusiveUnsignedLType area()
area in interface R2RenderTargetUsableType<R2MaskBufferDescriptionType>public R2MaskBufferDescriptionType description()
description in interface R2RenderTargetUsableType<R2MaskBufferDescriptionType>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 void clearBoundPrimaryFramebuffer(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
throws R2RendererExceptionFramebufferNotBound
R2RenderTargetUsableTypeclearBoundPrimaryFramebuffer in interface R2RenderTargetUsableType<R2MaskBufferDescriptionType>g - A GL interfaceR2RendererExceptionFramebufferNotBound - If the framebuffer is not
boundCopyright © 2017 <code@io7m.com> http://io7m.com