|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.video.vbufmgr.csVertexBufferManager
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csVertexBufferManager(iPointer nPointer)
|
Method Summary | |
void |
addClient(iVertexBufferManagerClient client)
A client using the services of the manager can register with it to receive information about the state of the manager. |
void |
changePriority(iVertexBuffer buf,
int new_priority)
Change the priority of a vertex buffer. |
iVertexBuffer |
createBuffer(int priority)
Create an empty vertex buffer. |
iPolygonBuffer |
createPolygonBuffer()
Create an empty polygon buffer. |
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
protected boolean |
isNativePointerValidSafe(long pointer)
|
boolean |
lockBuffer(iVertexBuffer buf,
csVector3[] verts,
csVector2[] texels,
csColor[] colors,
int buf_number,
csBox3 bbox)
Lock this vertex buffer for use. |
void |
unlockBuffer(iVertexBuffer buf)
Unlock a vertex buffer. |
Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Constructor Detail |
public csVertexBufferManager(iPointer nPointer)
nPointer
- Method Detail |
public int getVersion()
iBase
getVersion
in interface iBase
getVersion
in class csBase
iBase.getVersion()
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
iBase.getName()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public void addClient(iVertexBufferManagerClient client)
iVertexBufferManager
addClient
in interface iVertexBufferManager
client
- iVertexBufferManager.addClient(crystalspace.jbind.interfaces.ivideo.vbufmgr.iVertexBufferManagerClient)
public void changePriority(iVertexBuffer buf, int new_priority)
iVertexBufferManager
changePriority
in interface iVertexBufferManager
buf
- new_priority
- iVertexBufferManager.changePriority(crystalspace.jbind.interfaces.ivideo.vbufmgr.iVertexBuffer, int)
public iVertexBuffer createBuffer(int priority)
iVertexBufferManager
createBuffer
in interface iVertexBufferManager
priority
-
iVertexBufferManager.createBuffer(int)
public iPolygonBuffer createPolygonBuffer()
iVertexBufferManager
createPolygonBuffer
in interface iVertexBufferManager
iVertexBufferManager.createPolygonBuffer()
public boolean lockBuffer(iVertexBuffer buf, csVector3[] verts, csVector2[] texels, csColor[] colors, int buf_number, csBox3 bbox)
iVertexBufferManager
lockBuffer
in interface iVertexBufferManager
buf
- verts
- texels
- colors
- buf_number
- bbox
-
iVertexBufferManager.lockBuffer(crystalspace.jbind.interfaces.ivideo.vbufmgr.iVertexBuffer, crystalspace.jbind.impl.csgeom.vector3.csVector3[], crystalspace.jbind.impl.csgeom.vector2.csVector2[], crystalspace.jbind.impl.csutil.cscolor.csColor[], int, crystalspace.jbind.impl.csgeom.box.csBox3)
public void unlockBuffer(iVertexBuffer buf)
iVertexBufferManager
unlockBuffer
in interface iVertexBufferManager
buf
- iVertexBufferManager.unlockBuffer(crystalspace.jbind.interfaces.ivideo.vbufmgr.iVertexBuffer)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |