|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.VertexBufferBinding
public class VertexBufferBinding
| Nested Class Summary | |
|---|---|
static class |
VertexBufferBinding.BindingIndexMap
|
static class |
VertexBufferBinding.VertexBufferBindingMap
|
| Nested classes/interfaces inherited from interface org.ogre4j.IVertexBufferBinding |
|---|
IVertexBufferBinding.IBindingIndexMap, IVertexBufferBinding.IVertexBufferBindingMap |
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
VertexBufferBinding()
|
|
VertexBufferBinding(InstancePointer p)
This constructor is public for internal useage only! |
protected |
VertexBufferBinding(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
VertexBufferBinding(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
closeGaps(IVertexBufferBinding.IBindingIndexMap bindingIndexMap)
Remove any gaps in the bindings. |
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
IVertexBufferBinding.IVertexBufferBindingMap |
getBindings()
|
IHardwareVertexBufferSharedPtr |
getBuffer(int index)
|
int |
getBufferCount()
|
int |
getLastBoundIndex()
Gets the last bound index. |
int |
getNextIndex()
Gets the highest index which has already been set, plus 1. |
boolean |
hasGaps()
Check whether any gaps in the bindings. |
boolean |
isBufferBound(int index)
|
void |
setBinding(int index,
IHardwareVertexBufferSharedPtr buffer)
Set a binding, associating a vertex buffer with a given index. |
void |
unsetAllBindings()
Removes all the bindings. |
void |
unsetBinding(int index)
Removes an existing binding. |
| 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 VertexBufferBinding(InstancePointer p)
protected VertexBufferBinding(InstancePointer p,
boolean remote)
public VertexBufferBinding(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public VertexBufferBinding()
| 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 NativeObject
public void setBinding(int index,
IHardwareVertexBufferSharedPtr buffer)
setBinding in interface IVertexBufferBindingpublic void unsetBinding(int index)
unsetBinding in interface IVertexBufferBindingpublic void unsetAllBindings()
unsetAllBindings in interface IVertexBufferBindingpublic IVertexBufferBinding.IVertexBufferBindingMap getBindings()
getBindings in interface IVertexBufferBindingpublic IHardwareVertexBufferSharedPtr getBuffer(int index)
getBuffer in interface IVertexBufferBindingpublic boolean isBufferBound(int index)
isBufferBound in interface IVertexBufferBindingpublic int getBufferCount()
getBufferCount in interface IVertexBufferBindingpublic int getNextIndex()
getNextIndex in interface IVertexBufferBindingpublic int getLastBoundIndex()
getLastBoundIndex in interface IVertexBufferBindingpublic boolean hasGaps()
hasGaps in interface IVertexBufferBindingpublic void closeGaps(IVertexBufferBinding.IBindingIndexMap bindingIndexMap)
closeGaps in interface IVertexBufferBinding
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||