org.ogre4j
Class InstancedGeometry.MaterialBucket
java.lang.Object
org.xbig.base.NativeObject
org.ogre4j.InstancedGeometry.MaterialBucket
- All Implemented Interfaces:
- IAllocatedObject<IGeometryAllocPolicy>, IGeometryAllocatedObject, IInstancedGeometry.IMaterialBucket, INativeObject
- Enclosing class:
- InstancedGeometry
public static class InstancedGeometry.MaterialBucket
- extends NativeObject
- implements IInstancedGeometry.IMaterialBucket
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
InstancedGeometry.MaterialBucket
public InstancedGeometry.MaterialBucket(InstancePointer p)
- This constructor is public for internal useage only!
Do not use it!
InstancedGeometry.MaterialBucket
protected InstancedGeometry.MaterialBucket(InstancePointer p,
boolean remote)
- Creates a Java wrapper object for an existing C++ object.
If remote is set to 'true' this object cannot be deleted in Java.
InstancedGeometry.MaterialBucket
public InstancedGeometry.MaterialBucket(WithoutNativeObject val)
- Allows creation of Java objects without C++ objects.
- See Also:
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()
InstancedGeometry.MaterialBucket
public InstancedGeometry.MaterialBucket(IInstancedGeometry.ILODBucket parent,
java.lang.String materialName)
delete
public void delete()
- Description copied from interface:
INativeObject
- Deletes the corresponding C++ object.
Subclasses must implement this but if the native instance was created by
the underlying library the native call to dispose must not
happen!
- Specified by:
delete in interface INativeObject- Specified by:
delete in class NativeObject
- See Also:
#remote
finalize
public void finalize()
- Overrides:
finalize in class NativeObject
getParent
public IInstancedGeometry.ILODBucket getParent()
- Specified by:
getParent in interface IInstancedGeometry.IMaterialBucket
getMaterialName
public java.lang.String getMaterialName()
- Specified by:
getMaterialName in interface IInstancedGeometry.IMaterialBucket
assign
public void assign(IInstancedGeometry.IQueuedGeometry qsm)
- Specified by:
assign in interface IInstancedGeometry.IMaterialBucket
build
public void build()
- Specified by:
build in interface IInstancedGeometry.IMaterialBucket
addRenderables
public void addRenderables(IRenderQueue queue,
short group,
float camSquaredDist)
- Specified by:
addRenderables in interface IInstancedGeometry.IMaterialBucket
getMaterial
public IMaterialPtr getMaterial()
- Specified by:
getMaterial in interface IInstancedGeometry.IMaterialBucket
getGeometryIterator
public void getGeometryIterator(IInstancedGeometry.IMaterialBucket.IGeometryIterator returnValue)
- Specified by:
getGeometryIterator in interface IInstancedGeometry.IMaterialBucket
getCurrentTechnique
public ITechnique getCurrentTechnique()
- Specified by:
getCurrentTechnique in interface IInstancedGeometry.IMaterialBucket
dump
public void dump(Iofstream of)
- Specified by:
dump in interface IInstancedGeometry.IMaterialBucket
updateContainers
public void updateContainers(IInstancedGeometry.IGeometryBucket bucket,
java.lang.String format)
- Specified by:
updateContainers in interface IInstancedGeometry.IMaterialBucket
setLastIndex
public void setLastIndex(int index)
- Specified by:
setLastIndex in interface IInstancedGeometry.IMaterialBucket
getLastIndex
public int getLastIndex()
- Specified by:
getLastIndex in interface IInstancedGeometry.IMaterialBucket
setMaterial
public void setMaterial(java.lang.String name)
- Specified by:
setMaterial in interface IInstancedGeometry.IMaterialBucket
visitRenderables
public void visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
- Specified by:
visitRenderables in interface IInstancedGeometry.IMaterialBucket
Copyright © 2007 netAllied GmbH. All Rights Reserved.