public final class R2StencilRenderer extends Object implements R2StencilRendererType
R2StencilRendererType
interface.Modifier and Type | Method and Description |
---|---|
static R2StencilRenderer |
create(R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g,
R2IDPoolType in_pool,
R2UnitQuadUsableType in_quad) |
void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type gi)
Delete the current object.
|
boolean |
isDeleted() |
void |
renderStencilsWithBoundBuffer(R2MatricesObserverType m,
com.io7m.jcanephora.profiler.JCGLProfilingContextType pc,
com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType uc,
com.io7m.jregions.core.unparameterized.areas.AreaL area,
R2SceneStencilsType s)
Render the given stencil instances into the currently bound framebuffer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrap
public static R2StencilRenderer create(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.jregions.core.unparameterized.areas.AreaL area, R2SceneStencilsType s)
R2StencilRendererType
renderStencilsWithBoundBuffer
in interface R2StencilRendererType
m
- 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
R2DeletableType
delete
in interface R2DeletableType
gi
- An OpenGL interfaceR2Exception
- On errorspublic boolean isDeleted()
isDeleted
in interface com.io7m.jcanephora.core.JCGLResourceUsableType
Copyright © 2017 <code@io7m.com> http://io7m.com