public final class R2StencilRenderer extends Object implements R2StencilRendererType
R2StencilRendererType interface.| Modifier and Type | Method and Description |
|---|---|
void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type gi)
Delete the current object.
|
boolean |
isDeleted() |
static R2StencilRendererType |
newRenderer(R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g,
R2IDPoolType in_pool,
R2UnitQuadUsableType in_quad) |
void |
renderStencilsWithBoundBuffer(R2MatricesObserverType m,
com.io7m.jcanephora.profiler.JCGLProfilingContextType pc,
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc,
com.io7m.jareas.core.AreaInclusiveUnsignedLType area,
R2SceneStencilsType s)
Render the given stencil instances into the currently bound framebuffer.
|
public static R2StencilRendererType newRenderer(R2ShaderPreprocessingEnvironmentReadableType in_shader_env, com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g, R2IDPoolType in_pool, R2UnitQuadUsableType in_quad)
in_shader_env - Shader source accessin_g - An OpenGL interfacein_pool - The ID poolin_quad - A unit quadpublic void renderStencilsWithBoundBuffer(R2MatricesObserverType m, com.io7m.jcanephora.profiler.JCGLProfilingContextType pc, com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc, com.io7m.jareas.core.AreaInclusiveUnsignedLType area, R2SceneStencilsType s)
R2StencilRendererTyperenderStencilsWithBoundBuffer in interface R2StencilRendererTypem - A matrix contextpc - A profiling contextuc - A texture unit contextarea - The current viewports - The stencil instancespublic void delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type gi)
throws R2Exception
R2DeletableTypedelete in interface R2DeletableTypegi - An OpenGL interfaceR2Exception - On errorspublic boolean isDeleted()
isDeleted in interface com.io7m.jcanephora.core.JCGLResourceUsableTypeCopyright © 2016 <code@io7m.com> http://io7m.com