com.threerings.opengl.geometry.config
Class GeometryConfig.IndexedStored
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.geometry.config.GeometryConfig
com.threerings.opengl.geometry.config.GeometryConfig.Stored
com.threerings.opengl.geometry.config.GeometryConfig.IndexedStored
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Direct Known Subclasses:
- GeometryConfig.SkinnedIndexedStored
- Enclosing class:
- GeometryConfig
public static class GeometryConfig.IndexedStored
- extends GeometryConfig.Stored
Indexed geometry.
| Methods inherited from class com.threerings.opengl.geometry.config.GeometryConfig.Stored |
createArrayStates, createArrayStates, createGeometry, createStaticGeometry, getBoneMatrices, getBounds, getFloatArray, getIntArray, getTexCoordArray, getVertexAttribArray, getVertexCount, merge |
start
public int start
- The minimum index.
end
public int end
- The maximum index.
indices
@Shallow
public ShortBuffer indices
- The index buffer.
GeometryConfig.IndexedStored
public GeometryConfig.IndexedStored(Box bounds,
GeometryConfig.Mode mode,
GeometryConfig.AttributeArrayConfig[] vertexAttribArrays,
ClientArrayConfig[] texCoordArrays,
ClientArrayConfig colorArray,
ClientArrayConfig normalArray,
ClientArrayConfig vertexArray,
int start,
int end,
ShortBuffer indices)
GeometryConfig.IndexedStored
public GeometryConfig.IndexedStored()
createDrawCommand
public SimpleBatch.DrawCommand createDrawCommand(boolean ibo)
- Description copied from class:
GeometryConfig.Stored
- Creates the non-list draw command for this geometry.
- Specified by:
createDrawCommand in class GeometryConfig.Stored
- Parameters:
ibo - if true, indices will be read from a buffer object.
Copyright © 2011. All Rights Reserved.