public interface R2DepthInstancesType
| Modifier and Type | Method and Description |
|---|---|
<M> void |
depthsAddBatchedInstance(R2InstanceBatchedType i,
R2MaterialDepthBatchedType<M> m)
Add a batched instance to the scene using the given material, in group
1. |
<M> void |
depthsAddSingleInstance(R2InstanceSingleType i,
R2MaterialDepthSingleType<M> m)
Add a single instance to the scene using the given material, in group
1. |
long |
depthsCount() |
void |
depthsExecute(R2DepthInstancesConsumerType c)
Batch the instances and pass them to the given consumer for rendering.
|
com.io7m.jcanephora.core.JCGLFaceSelection |
depthsGetFaceCulling() |
void |
depthsReset()
Remove all instances from the scene.
|
void |
depthsSetFaceCulling(com.io7m.jcanephora.core.JCGLFaceSelection f)
Set which faces will be culled for the rendered instances.
|
void depthsSetFaceCulling(com.io7m.jcanephora.core.JCGLFaceSelection f)
JCGLFaceSelection.FACE_BACK.f - The faces to be culledcom.io7m.jcanephora.core.JCGLFaceSelection depthsGetFaceCulling()
depthsSetFaceCulling(JCGLFaceSelection)void depthsReset()
<M> void depthsAddSingleInstance(R2InstanceSingleType i, R2MaterialDepthSingleType<M> m)
1.M - The type of shader parametersi - The instancem - The material<M> void depthsAddBatchedInstance(R2InstanceBatchedType i, R2MaterialDepthBatchedType<M> m)
1.M - The type of shader parametersi - The instancem - The materialvoid depthsExecute(R2DepthInstancesConsumerType c)
c - The consumerlong depthsCount()
Copyright © 2017 <code@io7m.com> http://io7m.com