public final class VertexFormat extends Object
Modifier and Type | Field and Description |
---|---|
static VertexFormat |
POINT_NORMAL_TEXCOORD
Specifies the format of a vertex that consists of a point, normal and texture coordinates.
|
static VertexFormat |
POINT_TEXCOORD
Specifies the format of a vertex that consists of a point and texture coordinates.
|
Modifier and Type | Method and Description |
---|---|
int |
getNormalIndexOffset()
Returns the index offset in the face array of the normal component within
a vertex.
|
int |
getPointIndexOffset()
Returns the index offset in the face array of the point component within
a vertex.
|
int |
getTexCoordIndexOffset()
Returns the index offset in the face array of the texture coordinates
component within a vertex.
|
int |
getVertexIndexSize()
Returns the number of component indices that represents a vertex.
|
String |
toString() |
public static final VertexFormat POINT_TEXCOORD
public static final VertexFormat POINT_NORMAL_TEXCOORD
public int getVertexIndexSize()
public int getPointIndexOffset()
public int getNormalIndexOffset()
public int getTexCoordIndexOffset()
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.