org.ogre4j
Class ShadowTextureManager

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.ShadowTextureManager
All Implemented Interfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, ISceneCtlAllocatedObject, IShadowTextureManager, ISingleton<IShadowTextureManager>, INativeObject

public class ShadowTextureManager
extends NativeObject
implements IShadowTextureManager


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  ShadowTextureManager()
           
  ShadowTextureManager(InstancePointer p)
          This constructor is public for internal useage only!
protected ShadowTextureManager(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  ShadowTextureManager(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void clear()
          Dereference all the shadow textures kept in this class and remove them from ; note that it is up to the SceneManagers to clear their local references.
 void clearUnused()
          Remove any shadow textures that are no longer being referenced.
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 void getNullShadowTexture(ITexturePtr returnValue, PixelFormat format)
          Get an appropriately defined 'null' texture, i.e. one which will always result in no shadows.
 void getShadowTextures(IShadowTextureConfigList config, IShadowTextureList listToPopulate)
          Populate an incoming list with shadow texture references as requested in the configuration list.
static IShadowTextureManager getSingleton()
          Override standard retrieval.
static IShadowTextureManager getSingletonPtr()
          Override standard retrieval.
 
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

ShadowTextureManager

public ShadowTextureManager(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


ShadowTextureManager

protected ShadowTextureManager(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.


ShadowTextureManager

public ShadowTextureManager(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

ShadowTextureManager

public ShadowTextureManager()
Method Detail

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

getShadowTextures

public void getShadowTextures(IShadowTextureConfigList config,
                              IShadowTextureList listToPopulate)
Populate an incoming list with shadow texture references as requested in the configuration list.

Specified by:
getShadowTextures in interface IShadowTextureManager

getNullShadowTexture

public void getNullShadowTexture(ITexturePtr returnValue,
                                 PixelFormat format)
Get an appropriately defined 'null' texture, i.e. one which will always result in no shadows.

Specified by:
getNullShadowTexture in interface IShadowTextureManager

clearUnused

public void clearUnused()
Remove any shadow textures that are no longer being referenced.

Specified by:
clearUnused in interface IShadowTextureManager

clear

public void clear()
Dereference all the shadow textures kept in this class and remove them from ; note that it is up to the SceneManagers to clear their local references.

Specified by:
clear in interface IShadowTextureManager

getSingleton

public static IShadowTextureManager getSingleton()
Override standard retrieval.


getSingletonPtr

public static IShadowTextureManager getSingletonPtr()
Override standard retrieval.



Copyright © 2007 netAllied GmbH. All Rights Reserved.