com.jme3.scene.mesh
クラス IndexIntBuffer

java.lang.Object
  上位を拡張 com.jme3.scene.mesh.IndexBuffer
      上位を拡張 com.jme3.scene.mesh.IndexIntBuffer

public class IndexIntBuffer
extends IndexBuffer

IndexBuffer implementation for IntBuffers.


コンストラクタの概要
IndexIntBuffer(java.nio.IntBuffer buffer)
           
 
メソッドの概要
 int get(int i)
          Returns the vertex index for the given index in the index buffer.
 java.nio.Buffer getBuffer()
          Returns the underlying data-type specific Buffer.
 void put(int i, int value)
          Puts the vertex index at the index buffer's index.
 int size()
          Returns the size of the index buffer.
 
クラス com.jme3.scene.mesh.IndexBuffer から継承されたメソッド
createIndexBuffer
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

IndexIntBuffer

public IndexIntBuffer(java.nio.IntBuffer buffer)
メソッドの詳細

get

public int get(int i)
クラス IndexBuffer の記述:
Returns the vertex index for the given index in the index buffer.

定義:
クラス IndexBuffer 内の get
パラメータ:
i - The index inside the index buffer
戻り値:

put

public void put(int i,
                int value)
クラス IndexBuffer の記述:
Puts the vertex index at the index buffer's index. Implementations may throw an UnsupportedOperationException if modifying the IndexBuffer is not supported (e.g. virtual index buffers).

定義:
クラス IndexBuffer 内の put

size

public int size()
クラス IndexBuffer の記述:
Returns the size of the index buffer.

定義:
クラス IndexBuffer 内の size
戻り値:
the size of the index buffer.

getBuffer

public java.nio.Buffer getBuffer()
クラス IndexBuffer の記述:
Returns the underlying data-type specific Buffer. Implementations may return null if there's no underlying buffer.

定義:
クラス IndexBuffer 内の getBuffer
戻り値:
the underlying Buffer.