public interface R2SceneOpaquesType extends R2SceneOpaquesReadableType
| Modifier and Type | Method and Description |
|---|---|
default <M> void |
opaquesAddBatchedInstance(R2InstanceBatchedType i,
R2MaterialOpaqueBatchedType<M> m)
Add a batched instance to the scene using the given material, in group
1. |
<M> void |
opaquesAddBatchedInstanceInGroup(R2InstanceBatchedType i,
R2MaterialOpaqueBatchedType<M> m,
int group)
Add a batched instance to the scene using the given material.
|
default <M> void |
opaquesAddBillboardedInstance(R2InstanceBillboardedType i,
R2MaterialOpaqueBillboardedType<M> m)
Add a billboarded instance to the scene using the given material, in group
1. |
<M> void |
opaquesAddBillboardedInstanceInGroup(R2InstanceBillboardedType i,
R2MaterialOpaqueBillboardedType<M> m,
int group)
Add a billboarded instance to the scene using the given material.
|
default <M> void |
opaquesAddSingleInstance(R2InstanceSingleType i,
R2MaterialOpaqueSingleType<M> m)
Add a single instance to the scene using the given material, in group
1. |
<M> void |
opaquesAddSingleInstanceInGroup(R2InstanceSingleType i,
R2MaterialOpaqueSingleType<M> m,
int group)
Add a single instance to the scene using the given material.
|
void |
opaquesReset()
Remove all instances from the scene.
|
opaquesCount, opaquesExecutevoid opaquesReset()
default <M> void opaquesAddSingleInstance(R2InstanceSingleType i, R2MaterialOpaqueSingleType<M> m)
1.M - The type of shader parametersi - The instancem - The material<M> void opaquesAddSingleInstanceInGroup(R2InstanceSingleType i, R2MaterialOpaqueSingleType<M> m, int group)
group, which must be a value in the
range [1, {@link R2Stencils#MAXIMUM_GROUPS}].M - The type of shader parametersi - The instancem - The materialgroup - The groupdefault <M> void opaquesAddBatchedInstance(R2InstanceBatchedType i, R2MaterialOpaqueBatchedType<M> m)
1.M - The type of shader parametersi - The instancem - The material<M> void opaquesAddBatchedInstanceInGroup(R2InstanceBatchedType i, R2MaterialOpaqueBatchedType<M> m, int group)
group, which must be a value in the
range [1, 127].M - The type of shader parametersi - The instancem - The materialgroup - The groupdefault <M> void opaquesAddBillboardedInstance(R2InstanceBillboardedType i, R2MaterialOpaqueBillboardedType<M> m)
1.M - The type of shader parametersi - The instancem - The material<M> void opaquesAddBillboardedInstanceInGroup(R2InstanceBillboardedType i, R2MaterialOpaqueBillboardedType<M> m, int group)
group, which must be a value
in the range [1, 127].M - The type of shader parametersi - The instancem - The materialgroup - The groupCopyright © 2016 <code@io7m.com> http://io7m.com