org.ogre4j
Class StaticGeometry.MaterialBucket
java.lang.Object
org.xbig.base.NativeObject
org.ogre4j.StaticGeometry.MaterialBucket
- All Implemented Interfaces:
- IAllocatedObject<IGeometryAllocPolicy>, IGeometryAllocatedObject, IStaticGeometry.IMaterialBucket, INativeObject
- Enclosing class:
- StaticGeometry
public static class StaticGeometry.MaterialBucket
- extends NativeObject
- implements IStaticGeometry.IMaterialBucket
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
StaticGeometry.MaterialBucket
public StaticGeometry.MaterialBucket(InstancePointer p)
- This constructor is public for internal useage only!
Do not use it!
StaticGeometry.MaterialBucket
protected StaticGeometry.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.
StaticGeometry.MaterialBucket
public StaticGeometry.MaterialBucket(WithoutNativeObject val)
- Allows creation of Java objects without C++ objects.
- See Also:
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()
StaticGeometry.MaterialBucket
public StaticGeometry.MaterialBucket(IStaticGeometry.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 IStaticGeometry.ILODBucket getParent()
- Specified by:
getParent in interface IStaticGeometry.IMaterialBucket
getMaterialName
public java.lang.String getMaterialName()
- Specified by:
getMaterialName in interface IStaticGeometry.IMaterialBucket
assign
public void assign(IStaticGeometry.IQueuedGeometry qsm)
- Specified by:
assign in interface IStaticGeometry.IMaterialBucket
build
public void build(boolean stencilShadows)
- Specified by:
build in interface IStaticGeometry.IMaterialBucket
addRenderables
public void addRenderables(IRenderQueue queue,
short group,
float camSquaredDist)
- Specified by:
addRenderables in interface IStaticGeometry.IMaterialBucket
getMaterial
public IMaterialPtr getMaterial()
- Specified by:
getMaterial in interface IStaticGeometry.IMaterialBucket
getGeometryIterator
public void getGeometryIterator(IStaticGeometry.IMaterialBucket.IGeometryIterator returnValue)
- Specified by:
getGeometryIterator in interface IStaticGeometry.IMaterialBucket
getCurrentTechnique
public ITechnique getCurrentTechnique()
- Specified by:
getCurrentTechnique in interface IStaticGeometry.IMaterialBucket
dump
public void dump(Iofstream of)
- Specified by:
dump in interface IStaticGeometry.IMaterialBucket
visitRenderables
public void visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
- Specified by:
visitRenderables in interface IStaticGeometry.IMaterialBucket
Copyright © 2007 netAllied GmbH. All Rights Reserved.