## Uses of Interface
com.io7m.r2.core.R2InstanceBatchedType

- Packages that use R2InstanceBatchedType
  Package | Description
  --- | ---
  com.io7m.r2.core | Core types and functions.

- - ### Uses of R2InstanceBatchedType in com.io7m.r2.core

    Subinterfaces of R2InstanceBatchedType in com.io7m.r2.core
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `R2InstanceBatchedDynamicType` The type of batched instances that are expected to change often, both in the number of instances, and the transforms of individual instances.

    Classes in com.io7m.r2.core that implement R2InstanceBatchedType
    Modifier and Type | Class and Description
    --- | ---
    `class` | `R2InstanceBatchedDynamic` The default implementation of the `R2InstanceBatchedDynamicType` interface.

    Methods in com.io7m.r2.core that return R2InstanceBatchedType
    Modifier and Type | Method and Description
    --- | ---
    `R2InstanceBatchedType` | R2TranslucentBatchedType.`instance()`
    `R2InstanceBatchedType` | R2TranslucentBatched.`instance()`

    Methods in com.io7m.r2.core that return types with arguments of type R2InstanceBatchedType
    Modifier and Type | Method and Description
    --- | ---
    `List<R2InstanceBatchedType>` | R2MaskInstancesType.`batched()`
    `List<R2InstanceBatchedType>` | R2MaskInstances.`batched()`

    Methods in com.io7m.r2.core with parameters of type R2InstanceBatchedType
    Modifier and Type | Method and Description
    --- | ---
    `R2MaskInstances.Builder` | R2MaskInstances.Builder.`addBatched(R2InstanceBatchedType... elements)` Adds elements to `batched` list.
    `R2MaskInstances.Builder` | R2MaskInstances.Builder.`addBatched(R2InstanceBatchedType element)` Adds one element to `batched` list.
    `<M> void` | R2DepthInstancesType.`depthsAddBatchedInstance(R2InstanceBatchedType i, R2MaterialDepthBatchedType<M> m)` Add a batched instance to the scene using the given material, in group `1`.
    `<M> void` | R2DepthInstances.`depthsAddBatchedInstance(R2InstanceBatchedType i, R2MaterialDepthBatchedType<M> m)`
    `static <M> R2TranslucentBatched<M>` | R2TranslucentBatched.`of(R2InstanceBatchedType instance, R2ShaderTranslucentInstanceBatchedType<M> shader, M shaderParameters, Optional<com.io7m.jcanephora.renderstate.JCGLBlendState> blending, com.io7m.jcanephora.renderstate.JCGLCullingState culling)` Construct a new immutable `R2TranslucentBatched` instance.
    `<M> void` | R2DepthInstancesConsumerType.`onInstanceBatched(R2MaterialDepthBatchedType<M> material, R2InstanceBatchedType i)` Called when a batched instance should be rendered.
    `<M> void` | R2SceneOpaquesConsumerType.`onInstanceBatched(R2MaterialOpaqueBatchedType<M> material, R2InstanceBatchedType i)` Called when a batched instance should be rendered.
    `void` | R2SceneOpaquesConsumerType.`onInstanceBatchedUpdate(R2InstanceBatchedType i)` Called when a batched instance should upload batch data to the GPU.
    `void` | R2DepthInstancesConsumerType.`onInstanceBatchedUpdate(R2InstanceBatchedType i)` Called when a batched instance should upload batch data to the GPU.
    `default <M> void` | R2SceneOpaquesType.`opaquesAddBatchedInstance(R2InstanceBatchedType i, R2MaterialOpaqueBatchedType<M> m)` Add a batched instance to the scene using the given material, in group `1`.
    `<M> void` | R2SceneOpaquesType.`opaquesAddBatchedInstanceInGroup(R2InstanceBatchedType i, R2MaterialOpaqueBatchedType<M> m, int group)` Add a batched instance to the scene using the given material.
    `<M> void` | R2SceneOpaques.`opaquesAddBatchedInstanceInGroup(R2InstanceBatchedType i, R2MaterialOpaqueBatchedType<M> m, int group)`
    `R2TranslucentBatched.Builder<M>` | R2TranslucentBatched.Builder.`setInstance(R2InstanceBatchedType instance)` Initializes the value for the `instance` attribute.
    `R2MaskInstances` | R2MaskInstances.`withBatched(R2InstanceBatchedType... elements)` Copy the current immutable object with elements that replace the content of `batched`.
    `R2TranslucentBatched<M>` | R2TranslucentBatched.`withInstance(R2InstanceBatchedType value)` Copy the current immutable object by setting a value for the `instance` attribute.

    Method parameters in com.io7m.r2.core with type arguments of type R2InstanceBatchedType
    Modifier and Type | Method and Description
    --- | ---
    `R2MaskInstances.Builder` | R2MaskInstances.Builder.`addAllBatched(Iterable<? extends R2InstanceBatchedType> elements)` Adds elements to `batched` list.
    `R2MaskInstances.Builder` | R2MaskInstances.Builder.`setBatched(Iterable<? extends R2InstanceBatchedType> elements)` Sets or replaces all elements for `batched` list.
    `R2MaskInstances` | R2MaskInstances.`withBatched(Iterable<? extends R2InstanceBatchedType> elements)` Copy the current immutable object with elements that replace the content of `batched`.

Copyright © 2016 <code@io7m.com> http://io7m.com