org.ogre4j
Interface ICompositionTargetPass

All Superinterfaces:
IAllocatedObject<IResourceAllocPolicy>, INativeObject, IResourceAllocatedObject
All Known Implementing Classes:
CompositionTargetPass

public interface ICompositionTargetPass
extends INativeObject, IResourceAllocatedObject


Nested Class Summary
static interface ICompositionTargetPass.IPasses
           
static interface ICompositionTargetPass.IPassIterator
           
 
Method Summary
 boolean _isSupported()
          Determine if this target pass is supported on the current rendering device.
 ICompositionPass createPass()
          Create a new pass, and return a pointer to it.
 CompositionTargetPass.InputMode getInputMode()
          Get input mode
 float getLodBias()
          Get the scene LOD bias used by this pass
 java.lang.String getMaterialScheme()
          Get the material scheme used by this target pass.
 int getNumPasses()
          Get the number of passes.
 boolean getOnlyInitial()
          Get "only initial" flag.
 java.lang.String getOutputName()
          Get output local texture name
 ICompositionTechnique getParent()
          Get parent object
 ICompositionPass getPass(int idx)
          Get a pass.
 void getPassIterator(ICompositionTargetPass.IPassIterator returnValue)
          Get an iterator over the Passes in this TargetPass.
 boolean getShadowsEnabled()
          Get whether shadows are enabled in this target pass.
 long getVisibilityMask()
          Get the scene visibility mask used by this pass
 void removeAllPasses()
          Remove all passes
 void removePass(int idx)
          Remove a pass.
 void setInputMode(CompositionTargetPass.InputMode mode)
          Set input mode of this TargetPass
 void setLodBias(float bias)
          Set the scene LOD bias used by this pass.
 void setMaterialScheme(java.lang.String schemeName)
          Set the material scheme used by this target pass.
 void setOnlyInitial(boolean value)
          Set "only initial" flag.
 void setOutputName(java.lang.String out)
          Set output local texture name
 void setShadowsEnabled(boolean enabled)
          Set whether shadows are enabled in this target pass.
 void setVisibilityMask(long mask)
          Set the scene visibility mask used by this pass
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

setInputMode

void setInputMode(CompositionTargetPass.InputMode mode)
Set input mode of this TargetPass


getInputMode

CompositionTargetPass.InputMode getInputMode()
Get input mode


setOutputName

void setOutputName(java.lang.String out)
Set output local texture name


getOutputName

java.lang.String getOutputName()
Get output local texture name


setOnlyInitial

void setOnlyInitial(boolean value)
Set "only initial" flag. This makes that this target pass is only executed initially after the effect has been enabled.


getOnlyInitial

boolean getOnlyInitial()
Get "only initial" flag.


setVisibilityMask

void setVisibilityMask(long mask)
Set the scene visibility mask used by this pass


getVisibilityMask

long getVisibilityMask()
Get the scene visibility mask used by this pass


setMaterialScheme

void setMaterialScheme(java.lang.String schemeName)
Set the material scheme used by this target pass.


getMaterialScheme

java.lang.String getMaterialScheme()
Get the material scheme used by this target pass.


setShadowsEnabled

void setShadowsEnabled(boolean enabled)
Set whether shadows are enabled in this target pass.


getShadowsEnabled

boolean getShadowsEnabled()
Get whether shadows are enabled in this target pass.


setLodBias

void setLodBias(float bias)
Set the scene LOD bias used by this pass. The default is 1.0, everything below that means lower quality, higher means higher quality.


getLodBias

float getLodBias()
Get the scene LOD bias used by this pass


createPass

ICompositionPass createPass()
Create a new pass, and return a pointer to it.


removePass

void removePass(int idx)
Remove a pass. It will also be destroyed.


getPass

ICompositionPass getPass(int idx)
Get a pass.


getNumPasses

int getNumPasses()
Get the number of passes.


removeAllPasses

void removeAllPasses()
Remove all passes


getPassIterator

void getPassIterator(ICompositionTargetPass.IPassIterator returnValue)
Get an iterator over the Passes in this TargetPass.


getParent

ICompositionTechnique getParent()
Get parent object


_isSupported

boolean _isSupported()
Determine if this target pass is supported on the current rendering device.



Copyright © 2007 netAllied GmbH. All Rights Reserved.