public interface R2SceneStencilsType
Modifier and Type | Method and Description |
---|---|
void |
stencilsAddSingle(R2InstanceSingleType i)
Add a single instance to the scene.
|
long |
stencilsCount() |
void |
stencilsExecute(R2SceneStencilsConsumerType c)
Batch the instances and pass them to the given consumer for rendering.
|
R2SceneStencilsMode |
stencilsGetMode() |
void |
stencilsReset()
Remove all stencil instances from the scene.
|
void |
stencilsSetMode(R2SceneStencilsMode m)
Set the default stencil mode.
|
void stencilsReset()
void stencilsSetMode(R2SceneStencilsMode m)
m
- The modeR2SceneStencilsMode stencilsGetMode()
long stencilsCount()
void stencilsAddSingle(R2InstanceSingleType i)
i
- The instancevoid stencilsExecute(R2SceneStencilsConsumerType c)
c
- The consumerCopyright © 2017 <code@io7m.com> http://io7m.com