com.io7m.jcanephora.core

## Interface JCGLArrayObjectUsableType

- All Superinterfaces:
    JCGLNamedType, JCGLReferenceContainerType, JCGLResourceUsableType
  All Known Subinterfaces:
    JCGLArrayObjectType

      public interface JCGLArrayObjectUsableType
      extends JCGLResourceUsableType, JCGLNamedType, JCGLReferenceContainerType

  A usable array object.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<JCGLArrayVertexAttributeType>` | `getAttributeAt(int index)`
    `Optional<JCGLIndexBufferUsableType>` | `getIndexBufferBound()`
    `int` | `getMaximumVertexAttributes()`

    - ### Methods inherited from interface com.io7m.jcanephora.core.JCGLResourceUsableType

      `isDeleted`

    - ### Methods inherited from interface com.io7m.jcanephora.core.JCGLNamedType

      `getGLName`

    - ### Methods inherited from interface com.io7m.jcanephora.core.JCGLReferenceContainerType

      `getReferences`

- - ### Method Detail

    - #### getAttributeAt

          Optional<JCGLArrayVertexAttributeType> getAttributeAt(int index)

      Parameters:
        `index` - The attribute index in the range `[0, getMaximumVertexAttributes() - 1]`
      Returns:
        The attribute at the given index, if any

    - #### getMaximumVertexAttributes

          int getMaximumVertexAttributes()

      Returns:
        The supported maximum number of vertex attributes. Must be `>= 16`.

    - #### getIndexBufferBound

          Optional<JCGLIndexBufferUsableType> getIndexBufferBound()

      Returns:
        The index buffer that is currently bound to this array object, if any

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