public static enum VertexBuffer.Format extends java.lang.Enum<VertexBuffer.Format>
UnsignedShort formatted buffer should use the
 class ShortBuffer (e.g. the closest resembling type).
 For the Half type, ByteBuffers should
 be used.| Enum Constant and Description | 
|---|
| Byte1 byte integer, signed. | 
| DoubleDouble precision floating point. | 
| FloatSingle precision floating point. | 
| HalfHalf precision floating point. | 
| Int4 byte integer, signed. | 
| Short2 byte integer, signed. | 
| UnsignedByte1 byte integer, unsigned. | 
| UnsignedInt4 byte integer, unsigned. | 
| UnsignedShort2 byte integer, unsigned. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getComponentSize()Returns the size in bytes of this data type. | 
| static VertexBuffer.Format | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static VertexBuffer.Format[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final VertexBuffer.Format Half
public static final VertexBuffer.Format Float
public static final VertexBuffer.Format Double
public static final VertexBuffer.Format Byte
public static final VertexBuffer.Format UnsignedByte
public static final VertexBuffer.Format Short
public static final VertexBuffer.Format UnsignedShort
public static final VertexBuffer.Format Int
public static final VertexBuffer.Format UnsignedInt
public static VertexBuffer.Format[] values()
for (VertexBuffer.Format c : VertexBuffer.Format.values()) System.out.println(c);
public static VertexBuffer.Format valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getComponentSize()