|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<VertexBuffer.Usage>
com.jme3.scene.VertexBuffer.Usage
public static enum VertexBuffer.Usage
The usage of the VertexBuffer, specifies how often the buffer is used. This can determine if a vertex buffer is placed in VRAM or held in video memory, but no guarantees are made- it's only a hint.
Enum Constant Summary | |
---|---|
CpuOnly
Mesh data is not sent to GPU at all. |
|
Dynamic
Mesh data is updated occasionally (once per frame or less). |
|
Static
Mesh data is sent once and very rarely updated. |
|
Stream
Mesh data is updated every frame. |
Method Summary | |
---|---|
static VertexBuffer.Usage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VertexBuffer.Usage[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VertexBuffer.Usage Static
public static final VertexBuffer.Usage Dynamic
public static final VertexBuffer.Usage Stream
public static final VertexBuffer.Usage CpuOnly
Method Detail |
---|
public static VertexBuffer.Usage[] values()
for (VertexBuffer.Usage c : VertexBuffer.Usage.values()) System.out.println(c);
public static VertexBuffer.Usage 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |