public interface R2SceneStencilsConsumerType
A consumer for stencil instances.
Instances are batched in a manner that is intended to require the minimum number of state changes for rendering.
Modifier and Type | Method and Description |
---|---|
void |
onFinish()
Called when rendering of stencil instances is finished.
|
void |
onInstanceSingle(R2InstanceSingleType i)
Called when a single instance should be rendered.
|
void |
onInstanceSingleStartArray(R2InstanceSingleType i)
Called when a new array object should be bound.
|
void |
onStart()
Called when rendering of stencil instances begins.
|
void onStart()
void onInstanceSingleStartArray(R2InstanceSingleType i)
i
- The current instancevoid onInstanceSingle(R2InstanceSingleType i)
i
- The current instancevoid onFinish()
Copyright © 2017 <code@io7m.com> http://io7m.com