org.ogre4j
Interface IVertexData

All Superinterfaces:
IAllocatedObject<IGeometryAllocPolicy>, IGeometryAllocatedObject, INativeObject
All Known Implementing Classes:
VertexData

public interface IVertexData
extends INativeObject, IGeometryAllocatedObject


Nested Class Summary
static interface IVertexData.IHardwareAnimationData
           
static interface IVertexData.IHardwareAnimationDataList
           
 
Method Summary
 void allocateHardwareAnimationElements(int count)
          Allocate elements to serve a holder of morph / pose target data for hardware morphing / pose blending.
 IVertexData clone(boolean copyData)
          Clones this vertex data, potentially including replicating any vertex buffers.
 void closeGapsInBindings()
          Remove any gaps in the vertex buffer bindings.
 void convertPackedColour(VertexElementType srcType, VertexElementType destType)
          Convert all packed colour values (VET_COLOUR_*) in buffers used to another type.
 void gethardwareShadowVolWBuffer(IHardwareVertexBufferSharedPtr returnValue)
           
 void gethwAnimationDataList(IVertexData.IHardwareAnimationDataList returnValue)
           
 int gethwAnimDataItemsUsed()
           
 IVertexBufferBinding getvertexBufferBinding()
           
 int getvertexCount()
           
 IVertexDeclaration getvertexDeclaration()
           
 int getvertexStart()
           
 void prepareForShadowVolume()
          Modifies the vertex data to be suitable for use for rendering shadow geometry.
 void removeUnusedBuffers()
          Remove all vertex buffers that never used by the vertex declaration.
 void reorganiseBuffers(IVertexDeclaration newDeclaration)
          Reorganises the data in the vertex buffers according to the new vertex declaration passed in.
 void reorganiseBuffers(IVertexDeclaration newDeclaration, IBufferUsageList bufferUsage)
          Reorganises the data in the vertex buffers according to the new vertex declaration passed in.
 void sethardwareShadowVolWBuffer(IHardwareVertexBufferSharedPtr _jni_value_)
           
 void sethwAnimationDataList(IVertexData.IHardwareAnimationDataList _jni_value_)
           
 void sethwAnimDataItemsUsed(int _jni_value_)
           
 void setvertexBufferBinding(IVertexBufferBinding _jni_value_)
           
 void setvertexCount(int _jni_value_)
           
 void setvertexDeclaration(IVertexDeclaration _jni_value_)
           
 void setvertexStart(int _jni_value_)
           
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

clone

IVertexData clone(boolean copyData)
Clones this vertex data, potentially including replicating any vertex buffers.


prepareForShadowVolume

void prepareForShadowVolume()
Modifies the vertex data to be suitable for use for rendering shadow geometry.


reorganiseBuffers

void reorganiseBuffers(IVertexDeclaration newDeclaration,
                       IBufferUsageList bufferUsage)
Reorganises the data in the vertex buffers according to the new vertex declaration passed in. Note that new vertex buffers are created and written to, so if the buffers being referenced by this vertex data object are also used by others, then the original buffers will not be damaged by this operation. Once this operation has completed, the new declaration passed in will overwrite the current one.


reorganiseBuffers

void reorganiseBuffers(IVertexDeclaration newDeclaration)
Reorganises the data in the vertex buffers according to the new vertex declaration passed in. Note that new vertex buffers are created and written to, so if the buffers being referenced by this vertex data object are also used by others, then the original buffers will not be damaged by this operation. Once this operation has completed, the new declaration passed in will overwrite the current one. This version of the method derives the buffer usages from the existing buffers, by using the 'most flexible' usage from the equivalent sources.


closeGapsInBindings

void closeGapsInBindings()
Remove any gaps in the vertex buffer bindings.


removeUnusedBuffers

void removeUnusedBuffers()
Remove all vertex buffers that never used by the vertex declaration.


convertPackedColour

void convertPackedColour(VertexElementType srcType,
                         VertexElementType destType)
Convert all packed colour values (VET_COLOUR_*) in buffers used to another type.


allocateHardwareAnimationElements

void allocateHardwareAnimationElements(int count)
Allocate elements to serve a holder of morph / pose target data for hardware morphing / pose blending.


getvertexDeclaration

IVertexDeclaration getvertexDeclaration()

setvertexDeclaration

void setvertexDeclaration(IVertexDeclaration _jni_value_)

getvertexBufferBinding

IVertexBufferBinding getvertexBufferBinding()

setvertexBufferBinding

void setvertexBufferBinding(IVertexBufferBinding _jni_value_)

getvertexStart

int getvertexStart()

setvertexStart

void setvertexStart(int _jni_value_)

getvertexCount

int getvertexCount()

setvertexCount

void setvertexCount(int _jni_value_)

gethwAnimationDataList

void gethwAnimationDataList(IVertexData.IHardwareAnimationDataList returnValue)

sethwAnimationDataList

void sethwAnimationDataList(IVertexData.IHardwareAnimationDataList _jni_value_)

gethwAnimDataItemsUsed

int gethwAnimDataItemsUsed()

sethwAnimDataItemsUsed

void sethwAnimDataItemsUsed(int _jni_value_)

gethardwareShadowVolWBuffer

void gethardwareShadowVolWBuffer(IHardwareVertexBufferSharedPtr returnValue)

sethardwareShadowVolWBuffer

void sethardwareShadowVolWBuffer(IHardwareVertexBufferSharedPtr _jni_value_)


Copyright © 2007 netAllied GmbH. All Rights Reserved.