|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjme3tools.converters.model.strip.TriStrip
public class TriStrip
To use, call generateStrips method, passing your triangle index list and then construct geometry/render resulting PrimitiveGroup objects. Features:
フィールドの概要 | |
---|---|
static int |
CACHESIZE_GEFORCE1_2
|
static int |
CACHESIZE_GEFORCE3
|
コンストラクタの概要 | |
---|---|
TriStrip()
|
メソッドの概要 | |
---|---|
PrimitiveGroup[] |
generateStrips(int[] in_indices)
|
static void |
remapArrays(float[] vertexBuffer,
int vertexSize,
int[] indices)
|
static int[] |
remapIndices(int[] indices,
int numVerts)
Function to remap your indices to improve spatial locality in your vertex buffer. |
void |
setCacheSize(int _cacheSize)
Sets the cache size which the stripfier uses to optimize the data. |
void |
setListsOnly(boolean _bListsOnly)
If set to true, will return an optimized list, with no strips at all. |
void |
setMinStripSize(int _minStripSize)
Sets the minimum acceptable size for a strip, in triangles. |
void |
setStitchStrips(boolean _bStitchStrips)
bool to indicate whether to stitch together strips into one huge strip or not. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final int CACHESIZE_GEFORCE1_2
public static final int CACHESIZE_GEFORCE3
コンストラクタの詳細 |
---|
public TriStrip()
メソッドの詳細 |
---|
public void setListsOnly(boolean _bListsOnly)
public void setCacheSize(int _cacheSize)
public void setStitchStrips(boolean _bStitchStrips)
public void setMinStripSize(int _minStripSize)
public PrimitiveGroup[] generateStrips(int[] in_indices)
in_indices
- input index list, the indices you would use to render
public static int[] remapIndices(int[] indices, int numVerts)
public static void remapArrays(float[] vertexBuffer, int vertexSize, int[] indices)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |