|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.RenderToVertexBuffer
public class RenderToVertexBuffer
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
RenderToVertexBuffer(InstancePointer p)
This constructor is public for internal useage only! |
protected |
RenderToVertexBuffer(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
RenderToVertexBuffer(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
long |
getMaxVertexCount()
Get the maximum number of vertices that the buffer will hold |
RenderOperation.OperationType |
getOperationType()
What type of primitives does this object generate? |
void |
getRenderOperation(IRenderOperation op)
Get the render operation for this buffer |
IMaterialPtr |
getRenderToBufferMaterial()
Get the material which is used to render the geometry into the vertex buffer. |
boolean |
getResetsEveryUpdate()
Does this object reset its buffer each time it updates? |
IRenderable |
getSourceRenderable()
Get the source renderable of this object |
IVertexDeclaration |
getVertexDeclaration()
Get the vertex declaration that the pass will output. |
void |
reset()
Reset the vertex buffer to the initial state. |
void |
setMaxVertexCount(long maxVertexCount)
Set the maximum number of vertices that the buffer will hold |
void |
setOperationType(RenderOperation.OperationType operationType)
Set the type of primitives that this object generates |
void |
setRenderToBufferMaterialName(java.lang.String materialName)
Set the material name which is used to render the geometry into the vertex buffer |
void |
setResetsEveryUpdate(boolean resetsEveryUpdate)
Set wether this object resets its buffers each time it updates. |
void |
setSourceRenderable(IRenderable source)
Set the source renderable of this object. |
void |
update(ISceneManager sceneMgr)
Update the contents of this vertex buffer by rendering |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public RenderToVertexBuffer(InstancePointer p)
protected RenderToVertexBuffer(InstancePointer p,
boolean remote)
public RenderToVertexBuffer(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic IVertexDeclaration getVertexDeclaration()
getVertexDeclaration in interface IRenderToVertexBufferpublic long getMaxVertexCount()
getMaxVertexCount in interface IRenderToVertexBufferpublic void setMaxVertexCount(long maxVertexCount)
setMaxVertexCount in interface IRenderToVertexBufferpublic RenderOperation.OperationType getOperationType()
getOperationType in interface IRenderToVertexBufferpublic void setOperationType(RenderOperation.OperationType operationType)
setOperationType in interface IRenderToVertexBufferpublic void setResetsEveryUpdate(boolean resetsEveryUpdate)
setResetsEveryUpdate in interface IRenderToVertexBufferpublic boolean getResetsEveryUpdate()
getResetsEveryUpdate in interface IRenderToVertexBufferpublic void getRenderOperation(IRenderOperation op)
getRenderOperation in interface IRenderToVertexBufferpublic void update(ISceneManager sceneMgr)
update in interface IRenderToVertexBufferpublic void reset()
reset in interface IRenderToVertexBufferpublic void setSourceRenderable(IRenderable source)
setSourceRenderable in interface IRenderToVertexBufferpublic IRenderable getSourceRenderable()
getSourceRenderable in interface IRenderToVertexBufferpublic IMaterialPtr getRenderToBufferMaterial()
getRenderToBufferMaterial in interface IRenderToVertexBufferpublic void setRenderToBufferMaterialName(java.lang.String materialName)
setRenderToBufferMaterialName in interface IRenderToVertexBuffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||