| Package | Description |
|---|---|
| com.badlogic.gdx.graphics | |
| com.badlogic.gdx.graphics.glutils |
| Modifier and Type | Method and Description |
|---|---|
static VertexAttribute |
VertexAttribute.Color() |
static VertexAttribute |
VertexAttribute.ColorUnpacked() |
VertexAttribute |
VertexAttributes.findByUsage(int usage)
Returns the first VertexAttribute for the given usage.
|
VertexAttribute |
VertexAttributes.get(int index) |
VertexAttribute |
Mesh.getVertexAttribute(int usage)
Returns the first
VertexAttribute having the given VertexAttributes.Usage. |
static VertexAttribute |
VertexAttribute.Normal() |
static VertexAttribute |
VertexAttribute.Position() |
static VertexAttribute |
VertexAttribute.TexCoords(int unit) |
| Constructor and Description |
|---|
Mesh(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,
VertexAttribute... attributes)
Creates a new Mesh with the given attributes.
|
VertexAttributes(VertexAttribute... attributes)
Constructor, sets the vertex attributes in a specific order
|
| Constructor and Description |
|---|
VertexArray(int numVertices,
VertexAttribute... attributes)
Constructs a new interleaved VertexArray
|
VertexBufferObject(boolean isStatic,
int numVertices,
VertexAttribute... attributes)
Constructs a new interleaved VertexBufferObject.
|
VertexBufferObjectSubData(boolean isStatic,
int numVertices,
VertexAttribute... attributes)
Constructs a new interleaved VertexBufferObject.
|