| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private static final int | |
| private final int | |
| private static final int | |
| public static final VertexFormat | POINT_NORMAL_TEXCOORD
Specifies the format of a vertex that consists of a point, normal and texture coordinates. |
| public static final VertexFormat | POINT_TEXCOORD
Specifies the format of a vertex that consists of a point and texture coordinates. |
| private final int | |
| private static final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private | VertexFormat(String name, int vertexIndexSize, int pointIndexOffset, int normalIndexOffset, int texCoordIndexOffset)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| public int | Returns: the offset to the normal component.Returns the index offset in the face array of the normal component within a vertex. |
| pack-priv int | |
| public int | Returns: the offset to the point component.Returns the index offset in the face array of the point component within a vertex. |
| pack-priv int | |
| public int | Returns: the offset to the texture coordinates component.Returns the index offset in the face array of the texture coordinates component within a vertex. |
| public int | Returns: the number of component indicesReturns the number of component indices that represents a vertex. |
| public String |
| name | back to summary |
|---|---|
| private final String name | |
| NORMAL_ELEMENT_SIZE | back to summary |
|---|---|
| private static final int NORMAL_ELEMENT_SIZE | |
| normalIndexOffset | back to summary |
|---|---|
| private final int normalIndexOffset | |
| POINT_ELEMENT_SIZE | back to summary |
|---|---|
| private static final int POINT_ELEMENT_SIZE | |
| POINT_NORMAL_TEXCOORD | back to summary |
|---|---|
| public static final VertexFormat POINT_NORMAL_TEXCOORD Specifies the format of a vertex that consists of a point, normal and texture coordinates. | |
| POINT_TEXCOORD | back to summary |
|---|---|
| public static final VertexFormat POINT_TEXCOORD Specifies the format of a vertex that consists of a point and texture coordinates. | |
| pointIndexOffset | back to summary |
|---|---|
| private final int pointIndexOffset | |
| TEXCOORD_ELEMENT_SIZE | back to summary |
|---|---|
| private static final int TEXCOORD_ELEMENT_SIZE | |
| texCoordIndexOffset | back to summary |
|---|---|
| private final int texCoordIndexOffset | |
| vertexIndexSize | back to summary |
|---|---|
| private final int vertexIndexSize | |
| VertexFormat | back to summary |
|---|---|
| private VertexFormat(String name, int vertexIndexSize, int pointIndexOffset, int normalIndexOffset, int texCoordIndexOffset) | |
| getNormalElementSize | back to summary |
|---|---|
| pack-priv int getNormalElementSize() | |
| getNormalIndexOffset | back to summary |
|---|---|
| public int getNormalIndexOffset() Returns the index offset in the face array of the normal component within a vertex.
| |
| getPointElementSize | back to summary |
|---|---|
| pack-priv int getPointElementSize() | |
| getPointIndexOffset | back to summary |
|---|---|
| public int getPointIndexOffset() Returns the index offset in the face array of the point component within a vertex.
| |
| getTexCoordElementSize | back to summary |
|---|---|
| pack-priv int getTexCoordElementSize() | |
| getTexCoordIndexOffset | back to summary |
|---|---|
| public int getTexCoordIndexOffset() Returns the index offset in the face array of the texture coordinates component within a vertex.
| |
| getVertexIndexSize | back to summary |
|---|---|
| public int getVertexIndexSize() Returns the number of component indices that represents a vertex. For example, a POINT_TEXCOORD vertex consists of 2 indices, one for point component and the other for texture coordinates component. Hence its value will be 2.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |