com.io7m.r2.core

## Interface R2InstanceSingleType

- All Superinterfaces:
    R2InstanceType
  All Known Implementing Classes:
    R2InstanceSingle

      public interface R2InstanceSingleType
      extends R2InstanceType

  The type of single instances.

  A single instance consists of a set of one or more vertex buffers containing mesh data, a per-instance UV matrix, and a transform.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.io7m.jcanephora.core.JCGLArrayObjectUsableType` | `arrayObject()`
    `long` | `instanceID()`
    `R2TransformReadableType` | `transform()`
    `com.io7m.jtensors.parameterized.PMatrixReadable3x3FType<R2SpaceTextureType,R2SpaceTextureType>` | `uvMatrix()`

- - ### Method Detail

    - #### instanceID

          long instanceID()

      Specified by:
        `instanceID` in interface `R2InstanceType`
      Returns:
        The unique instance ID

    - #### arrayObject

          com.io7m.jcanephora.core.JCGLArrayObjectUsableType arrayObject()

      Returns:
        The instance array object

    - #### transform

          R2TransformReadableType transform()

      Returns:
        The instance transform

    - #### uvMatrix

          com.io7m.jtensors.parameterized.PMatrixReadable3x3FType<R2SpaceTextureType,R2SpaceTextureType> uvMatrix()

      Returns:
        The instance UV matrix

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