public class Geometry extends AVListImpl implements Cacheable
Modifier and Type | Class and Description |
---|---|
static class |
Geometry.CacheKey |
Modifier and Type | Field and Description |
---|---|
static int |
ELEMENT |
static int |
NORMAL |
static int |
TEXTURE |
static int |
VERTEX |
Constructor and Description |
---|
Geometry() |
Modifier and Type | Method and Description |
---|---|
void |
clear(int type) |
java.nio.Buffer |
getBuffer(int type) |
int |
getCount(int type) |
int |
getGLType(int type) |
int |
getMode(int object) |
int |
getSize(int type) |
long |
getSizeInBytes()
Retrieves the approximate size of this object in bytes.
|
int |
getStride(int type) |
void |
setData(int type,
int size,
int stride,
int count,
float[] src,
int srcPos) |
void |
setData(int type,
int size,
int stride,
int count,
java.nio.FloatBuffer src) |
void |
setData(int type,
int size,
int glType,
int stride,
int count,
int[] src,
int srcPos) |
void |
setElementData(int mode,
int count,
int[] src) |
void |
setElementData(int mode,
int count,
java.nio.IntBuffer src) |
void |
setMode(int type,
int mode) |
void |
setNormalData(int count,
float[] src) |
void |
setNormalData(int count,
java.nio.FloatBuffer src) |
void |
setTextureCoordData(int count,
float[] src) |
void |
setTextureCoordData(int count,
java.nio.FloatBuffer src) |
void |
setVertexData(int count,
float[] src) |
void |
setVertexData(int count,
java.nio.FloatBuffer src) |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
public static final int ELEMENT
public static final int NORMAL
public static final int TEXTURE
public static final int VERTEX
public void clear(int type)
public java.nio.Buffer getBuffer(int type)
public int getCount(int type)
public int getGLType(int type)
public int getMode(int object)
public int getSize(int type)
public long getSizeInBytes()
Cacheable
getSizeInBytes
in interface Cacheable
Cacheable
object's size in bytespublic int getStride(int type)
public void setData(int type, int size, int stride, int count, float[] src, int srcPos)
public void setData(int type, int size, int stride, int count, java.nio.FloatBuffer src)
public void setData(int type, int size, int glType, int stride, int count, int[] src, int srcPos)
public void setElementData(int mode, int count, int[] src)
public void setElementData(int mode, int count, java.nio.IntBuffer src)
public void setMode(int type, int mode)
public void setNormalData(int count, float[] src)
public void setNormalData(int count, java.nio.FloatBuffer src)
public void setTextureCoordData(int count, float[] src)
public void setTextureCoordData(int count, java.nio.FloatBuffer src)
public void setVertexData(int count, float[] src)
public void setVertexData(int count, java.nio.FloatBuffer src)