|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is a general buffer to be used by the renderer. It can ONLY be created by the VB manager
| Method Summary | |
int |
getBufferType()
Get type of buffer (static/dynamic);. |
int |
getComponentCount()
Gets the number of components per element. |
int |
getComponentType()
Gets the component type (float, int, etc);. |
int |
getSize()
Get the size of the buffer (in bytes);. |
iPointer |
lock(int lockType)
Lock the buffer to allow writing and give us a pointer to the data. |
void |
release()
Releases the buffer. |
void |
setComponentCount(int count)
Sets the number of components per element. |
void |
setComponentType(int type)
Sets the component type (float, int, etc);. |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Method Detail |
public int getBufferType()
public int getComponentCount()
public int getComponentType()
public int getSize()
public iPointer lock(int lockType)
lockType -
public void release()
public void setComponentCount(int count)
count - public void setComponentType(int type)
type -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||