public final class R2DepthOnlyRenderer extends Object implements R2DepthRendererType
R2DepthRendererType interface.| Modifier and Type | Method and Description |
|---|---|
void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g3)
Delete the current object.
|
boolean |
isDeleted() |
static R2DepthRendererType |
newRenderer(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g)
Construct a new renderer.
|
void |
renderDepth(R2DepthOnlyBufferUsableType dbuffer,
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc,
R2MatricesObserverType m,
R2DepthInstancesType s)
Render the given opaque instances into the given depth buffer.
|
void |
renderDepthWithBoundBuffer(com.io7m.jareas.core.AreaInclusiveUnsignedLType area,
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc,
R2MatricesObserverType m,
R2DepthInstancesType s)
Render the given opaque instances into the currently bound depth
buffer.
|
public static R2DepthRendererType newRenderer(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g)
in_g - An OpenGL interfacepublic void delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g3)
throws R2Exception
R2DeletableTypedelete in interface R2DeletableTypeg3 - An OpenGL interfaceR2Exception - On errorspublic boolean isDeleted()
isDeleted in interface com.io7m.jcanephora.core.JCGLResourceUsableTypepublic void renderDepth(R2DepthOnlyBufferUsableType dbuffer, com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc, R2MatricesObserverType m, R2DepthInstancesType s)
R2DepthRendererTyperenderDepth in interface R2DepthRendererTypedbuffer - The depth bufferuc - A texture unit contextm - A matrix contexts - The depth instancespublic void renderDepthWithBoundBuffer(com.io7m.jareas.core.AreaInclusiveUnsignedLType area,
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc,
R2MatricesObserverType m,
R2DepthInstancesType s)
R2DepthRendererTyperenderDepthWithBoundBuffer in interface R2DepthRendererTypearea - The current viewportuc - A texture unit contextm - A matrix contexts - The depth instancesCopyright © 2017 <code@io7m.com> http://io7m.com