public final class R2AmbientOcclusionBuffer extends Object implements R2AmbientOcclusionBufferType
R2AmbientOcclusionBufferType
interface.| Modifier and Type | Method and Description |
|---|---|
R2Texture2DUsableType |
ambientOcclusionTexture() |
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.
|
R2AmbientOcclusionBufferDescriptionType |
description() |
com.io7m.junsigned.ranges.UnsignedRangeInclusiveL |
getRange() |
boolean |
isDeleted() |
static R2AmbientOcclusionBufferType |
newAmbientOcclusionBuffer(com.io7m.jcanephora.core.api.JCGLFramebuffersType g_fb,
com.io7m.jcanephora.core.api.JCGLTexturesType g_t,
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType tc,
R2AmbientOcclusionBufferDescriptionType d)
Construct a new ambient occlusion buffer.
|
com.io7m.jcanephora.core.JCGLFramebufferUsableType |
primaryFramebuffer() |
public static R2AmbientOcclusionBufferType newAmbientOcclusionBuffer(com.io7m.jcanephora.core.api.JCGLFramebuffersType g_fb, com.io7m.jcanephora.core.api.JCGLTexturesType g_t, com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType tc, R2AmbientOcclusionBufferDescriptionType d)
g_fb - A framebuffer interfaceg_t - A texture interfacetc - A texture unit contextd - The buffer descriptionpublic R2Texture2DUsableType ambientOcclusionTexture()
ambientOcclusionTexture in interface R2AmbientOcclusionBufferUsableTypepublic com.io7m.jcanephora.core.JCGLFramebufferUsableType primaryFramebuffer()
primaryFramebuffer in interface R2RenderTargetUsableType<R2AmbientOcclusionBufferDescriptionType>public com.io7m.jareas.core.AreaInclusiveUnsignedLType area()
area in interface R2RenderTargetUsableType<R2AmbientOcclusionBufferDescriptionType>public R2AmbientOcclusionBufferDescriptionType description()
description in interface R2AmbientOcclusionBufferUsableTypedescription in interface R2RenderTargetUsableType<R2AmbientOcclusionBufferDescriptionType>public void clearBoundPrimaryFramebuffer(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
throws R2RendererExceptionFramebufferNotBound
R2RenderTargetUsableTypeclearBoundPrimaryFramebuffer in interface R2RenderTargetUsableType<R2AmbientOcclusionBufferDescriptionType>g - A GL interfaceR2RendererExceptionFramebufferNotBound - If the framebuffer is not
boundpublic 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 errorsCopyright © 2016 <code@io7m.com> http://io7m.com