org.ogre4j
Interface IRenderToVertexBuffer

All Superinterfaces:
INativeObject
All Known Implementing Classes:
RenderToVertexBuffer

public interface IRenderToVertexBuffer
extends INativeObject


Method Summary
 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 interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

getVertexDeclaration

IVertexDeclaration getVertexDeclaration()
Get the vertex declaration that the pass will output.


getMaxVertexCount

long getMaxVertexCount()
Get the maximum number of vertices that the buffer will hold


setMaxVertexCount

void setMaxVertexCount(long maxVertexCount)
Set the maximum number of vertices that the buffer will hold


getOperationType

RenderOperation.OperationType getOperationType()
What type of primitives does this object generate?


setOperationType

void setOperationType(RenderOperation.OperationType operationType)
Set the type of primitives that this object generates


setResetsEveryUpdate

void setResetsEveryUpdate(boolean resetsEveryUpdate)
Set wether this object resets its buffers each time it updates.


getResetsEveryUpdate

boolean getResetsEveryUpdate()
Does this object reset its buffer each time it updates?


getRenderOperation

void getRenderOperation(IRenderOperation op)
Get the render operation for this buffer


update

void update(ISceneManager sceneMgr)
Update the contents of this vertex buffer by rendering


reset

void reset()
Reset the vertex buffer to the initial state. In the next update, the source renderable will be used as input.


setSourceRenderable

void setSourceRenderable(IRenderable source)
Set the source renderable of this object. During the first (and perhaps later) update of this object, this object's data will be used as input)


getSourceRenderable

IRenderable getSourceRenderable()
Get the source renderable of this object


getRenderToBufferMaterial

IMaterialPtr getRenderToBufferMaterial()
Get the material which is used to render the geometry into the vertex buffer.


setRenderToBufferMaterialName

void setRenderToBufferMaterialName(java.lang.String materialName)
Set the material name which is used to render the geometry into the vertex buffer



Copyright © 2007 netAllied GmbH. All Rights Reserved.