com.threerings.opengl.geometry.config
Class GeometryConfig.ArrayStored
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.ArrayStored
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- GeometryConfig
public static class GeometryConfig.ArrayStored
- extends GeometryConfig.Stored
Array geometry.
|
Field Summary |
int |
count
The number of indices to render. |
int |
first
The starting array index. |
| Methods inherited from class com.threerings.opengl.geometry.config.GeometryConfig.Stored |
createArrayStates, createArrayStates, createGeometry, createStaticGeometry, getBoneMatrices, getBounds, getFloatArray, getIntArray, getTexCoordArray, getVertexAttribArray, getVertexCount, merge |
first
public int first
- The starting array index.
count
public int count
- The number of indices to render.
GeometryConfig.ArrayStored
public GeometryConfig.ArrayStored(Box bounds,
GeometryConfig.Mode mode,
GeometryConfig.AttributeArrayConfig[] vertexAttribArrays,
ClientArrayConfig[] texCoordArrays,
ClientArrayConfig colorArray,
ClientArrayConfig normalArray,
ClientArrayConfig vertexArray,
int first,
int count)
GeometryConfig.ArrayStored
public GeometryConfig.ArrayStored()
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.