|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.scene.mesh.IndexBuffer
public abstract class IndexBuffer
IndexBuffer
is an abstraction for integer index buffers,
it is used to retrieve indices without knowing in which format they
are stored (ushort or uint).
コンストラクタの概要 | |
---|---|
IndexBuffer()
|
メソッドの概要 | |
---|---|
static IndexBuffer |
createIndexBuffer(int vertexCount,
int indexCount)
Creates an index buffer that can contain the given amount of vertices. |
abstract int |
get(int i)
Returns the vertex index for the given index in the index buffer. |
abstract java.nio.Buffer |
getBuffer()
Returns the underlying data-type specific Buffer . |
abstract void |
put(int i,
int value)
Puts the vertex index at the index buffer's index. |
abstract int |
size()
Returns the size of the index buffer. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public IndexBuffer()
メソッドの詳細 |
---|
public static IndexBuffer createIndexBuffer(int vertexCount, int indexCount)
IndexShortBuffer
vertexCount
- The amount of vertices to containindexCount
- The amount of indices
to contain.
public abstract int get(int i)
i
- The index inside the index buffer
public abstract void put(int i, int value)
UnsupportedOperationException
if modifying the IndexBuffer is not supported (e.g. virtual index
buffers).
public abstract int size()
public abstract java.nio.Buffer getBuffer()
Buffer
.
Implementations may return null if there's no underlying
buffer.
Buffer
.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |