@Environment(value=CLIENT) public class VertexFormatElement extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VertexFormatElement.Format |
static class |
VertexFormatElement.Type |
Modifier and Type | Field and Description |
---|---|
private int |
count |
private VertexFormatElement.Format |
format |
private int |
index |
private static Logger |
LOGGER |
private int |
size |
private VertexFormatElement.Type |
type |
Constructor and Description |
---|
VertexFormatElement(int index,
VertexFormatElement.Format format,
VertexFormatElement.Type type,
int count) |
Modifier and Type | Method and Description |
---|---|
void |
endDrawing() |
boolean |
equals(Object o) |
VertexFormatElement.Format |
getFormat() |
int |
getIndex() |
int |
getSize() |
VertexFormatElement.Type |
getType() |
int |
hashCode() |
private boolean |
isValidType(int index,
VertexFormatElement.Type type) |
void |
startDrawing(long pointer,
int stride) |
String |
toString() |
private static final Logger LOGGER
private final VertexFormatElement.Format format
private final VertexFormatElement.Type type
private final int index
private final int count
private final int size
public VertexFormatElement(int index, VertexFormatElement.Format format, VertexFormatElement.Type type, int count)
private boolean isValidType(int index, VertexFormatElement.Type type)
public final VertexFormatElement.Format getFormat()
public final VertexFormatElement.Type getType()
public final int getIndex()
public final int getSize()
public void startDrawing(long pointer, int stride)
public void endDrawing()