Package | Description |
---|---|
com.badlogic.gdx.graphics | |
com.badlogic.gdx.graphics.g2d |
Modifier and Type | Method and Description |
---|---|
static Mesh.VertexDataType |
Mesh.VertexDataType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Mesh.VertexDataType[] |
Mesh.VertexDataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Mesh(Mesh.VertexDataType type,
boolean isStatic,
int maxVertices,
int maxIndices,
VertexAttribute... attributes)
Creates a new Mesh with the given attributes.
|
Mesh(Mesh.VertexDataType type,
boolean isStatic,
int maxVertices,
int maxIndices,
VertexAttributes attributes)
Creates a new Mesh with the given attributes.
|
Modifier and Type | Field and Description |
---|---|
static Mesh.VertexDataType |
SpriteBatch.defaultVertexDataType
Deprecated.
Do not use, this field is for testing only and is likely to be removed. Sets the
Mesh.VertexDataType to be
used when gles 3 is not available, defaults to VertexArray . |