|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.VertexData
public class VertexData
| Nested Class Summary | |
|---|---|
static class |
VertexData.HardwareAnimationData
|
static class |
VertexData.HardwareAnimationDataList
|
| Nested classes/interfaces inherited from interface org.ogre4j.IVertexData |
|---|
IVertexData.IHardwareAnimationData, IVertexData.IHardwareAnimationDataList |
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
VertexData()
|
|
VertexData(InstancePointer p)
This constructor is public for internal useage only! |
protected |
VertexData(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
VertexData(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| 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 |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
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 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 VertexData(InstancePointer p)
protected VertexData(InstancePointer p,
boolean remote)
public VertexData(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public VertexData()
| 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 IVertexData clone(boolean copyData)
clone in interface IVertexDatapublic void prepareForShadowVolume()
prepareForShadowVolume in interface IVertexData
public void reorganiseBuffers(IVertexDeclaration newDeclaration,
IBufferUsageList bufferUsage)
reorganiseBuffers in interface IVertexDatapublic void reorganiseBuffers(IVertexDeclaration newDeclaration)
reorganiseBuffers in interface IVertexDatapublic void closeGapsInBindings()
closeGapsInBindings in interface IVertexDatapublic void removeUnusedBuffers()
removeUnusedBuffers in interface IVertexData
public void convertPackedColour(VertexElementType srcType,
VertexElementType destType)
convertPackedColour in interface IVertexDatapublic void allocateHardwareAnimationElements(int count)
allocateHardwareAnimationElements in interface IVertexDatapublic IVertexDeclaration getvertexDeclaration()
getvertexDeclaration in interface IVertexDatapublic void setvertexDeclaration(IVertexDeclaration _jni_value_)
setvertexDeclaration in interface IVertexDatapublic IVertexBufferBinding getvertexBufferBinding()
getvertexBufferBinding in interface IVertexDatapublic void setvertexBufferBinding(IVertexBufferBinding _jni_value_)
setvertexBufferBinding in interface IVertexDatapublic int getvertexStart()
getvertexStart in interface IVertexDatapublic void setvertexStart(int _jni_value_)
setvertexStart in interface IVertexDatapublic int getvertexCount()
getvertexCount in interface IVertexDatapublic void setvertexCount(int _jni_value_)
setvertexCount in interface IVertexDatapublic void gethwAnimationDataList(IVertexData.IHardwareAnimationDataList returnValue)
gethwAnimationDataList in interface IVertexDatapublic void sethwAnimationDataList(IVertexData.IHardwareAnimationDataList _jni_value_)
sethwAnimationDataList in interface IVertexDatapublic int gethwAnimDataItemsUsed()
gethwAnimDataItemsUsed in interface IVertexDatapublic void sethwAnimDataItemsUsed(int _jni_value_)
sethwAnimDataItemsUsed in interface IVertexDatapublic void gethardwareShadowVolWBuffer(IHardwareVertexBufferSharedPtr returnValue)
gethardwareShadowVolWBuffer in interface IVertexDatapublic void sethardwareShadowVolWBuffer(IHardwareVertexBufferSharedPtr _jni_value_)
sethardwareShadowVolWBuffer in interface IVertexData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||