|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |
java.lang.Objectjava.lang.Enum<VertexBuffer.Format>
com.jme3.scene.VertexBuffer.Format
public static enum VertexBuffer.Format
Specifies format of the data stored in the buffer.
This should directly correspond to the buffer's class, for example,
an UnsignedShort
formatted buffer should use the
class ShortBuffer
(e.g. the closest resembling type).
For the Half
type, ByteBuffer
s should
be used.
列挙型定数の概要 | |
---|---|
Byte
1 byte integer, signed. |
|
Double
Double precision floating point. 8 bytes, signed. |
|
Float
Single precision floating point. 4 bytes, signed |
|
Half
Half precision floating point. 2 bytes, signed. |
|
Int
4 byte integer, signed. |
|
Short
2 byte integer, signed. |
|
UnsignedByte
1 byte integer, unsigned. |
|
UnsignedInt
4 byte integer, unsigned. |
|
UnsignedShort
2 byte integer, unsigned. |
メソッドの概要 | |
---|---|
int |
getComponentSize()
Returns the size in bytes of this data type. |
static VertexBuffer.Format |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 |
static VertexBuffer.Format[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。 |
クラス java.lang.Enum から継承されたメソッド |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, wait, wait, wait |
列挙型定数の詳細 |
---|
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
- 返される列挙型定数の名前
java.lang.IllegalArgumentException
- 指定された名前を持つ定数を
この列挙型が持っていない場合
java.lang.NullPointerException
- 引数が null の場合public int getComponentSize()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |