org.ogre4j
Interface ICompositionPass

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

public interface ICompositionPass
extends INativeObject, IResourceAllocatedObject


Nested Class Summary
static interface ICompositionPass.IInputTex
           
 
Method Summary
 boolean _isSupported()
          Determine if this target pass is supported on the current rendering device.
 void clearAllInputs()
          Clear all inputs.
 long getClearBuffers()
          Get the viewport clear buffers.
 IColourValue getClearColour()
          Get the viewport clear colour (defaults to 0,0,0,0)
 float getClearDepth()
          Get the viewport clear depth (defaults to 1.0)
 long getClearStencil()
          Get the viewport clear stencil value (defaults to 0)
 short getFirstRenderQueue()
          Get the first render queue to be rendered in this pass (inclusive)
 long getIdentifier()
          Get the identifier for this pass
 ICompositionPass.IInputTex getInput(int id)
          Get the value of an input.
 short getLastRenderQueue()
          Get the last render queue to be rendered in this pass (inclusive)
 IMaterialPtr getMaterial()
          Get the material used by this pass
 int getNumInputs()
          Get the number of inputs used.
 ICompositionTargetPass getParent()
          Get parent object
 boolean getQuadCorners(FloatPointer left, FloatPointer top, FloatPointer right, FloatPointer bottom)
          Get quad normalised positions [-1;1]x[-1;1]
 boolean getStencilCheck()
          Get stencil check enable.
 StencilOperation getStencilDepthFailOp()
          Get stencil depth fail operation.
 StencilOperation getStencilFailOp()
          Get stencil fail operation.
 CompareFunction getStencilFunc()
          Get stencil compare function.
 long getStencilMask()
          Get stencil mask.
 StencilOperation getStencilPassOp()
          Get stencil pass operation.
 long getStencilRefValue()
          Get stencil reference value.
 boolean getStencilTwoSidedOperation()
          Get two sided stencil operation.
 CompositionPass.PassType getType()
          Get the type of composition pass
 void setClearBuffers(long val)
          Set the viewport clear buffers (defaults to FBT_COLOUR|FBT_DEPTH)
 void setClearColour(IColourValue val)
          Set the viewport clear colour (defaults to 0,0,0,0)
 void setClearDepth(float depth)
          Set the viewport clear depth (defaults to 1.0)
 void setClearStencil(long value)
          Set the viewport clear stencil value (defaults to 0)
 void setFirstRenderQueue(short id)
          Set the first render queue to be rendered in this pass (inclusive)
 void setIdentifier(long id)
          Set an identifier for this pass.
 void setInput(int id, java.lang.String input, int mrtIndex)
          Set an input local texture.
 void setLastRenderQueue(short id)
          Set the last render queue to be rendered in this pass (inclusive)
 void setMaterial(IMaterialPtr mat)
          Set the material used by this pass
 void setMaterialName(java.lang.String name)
          Set the material used by this pass
 void setQuadCorners(float left, float top, float right, float bottom)
          Set quad normalised positions [-1;1]x[-1;1]
 void setStencilCheck(boolean value)
          Set stencil check on or off.
 void setStencilDepthFailOp(StencilOperation value)
          Set stencil depth fail operation.
 void setStencilFailOp(StencilOperation value)
          Set stencil fail operation.
 void setStencilFunc(CompareFunction value)
          Set stencil compare function.
 void setStencilMask(long value)
          Set stencil mask.
 void setStencilPassOp(StencilOperation value)
          Set stencil pass operation.
 void setStencilRefValue(long value)
          Set stencil reference value.
 void setStencilTwoSidedOperation(boolean value)
          Set two sided stencil operation.
 void setType(CompositionPass.PassType type)
          Set the type of composition pass
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

setType

void setType(CompositionPass.PassType type)
Set the type of composition pass


getType

CompositionPass.PassType getType()
Get the type of composition pass


setIdentifier

void setIdentifier(long id)
Set an identifier for this pass. This identifier can be used to "listen in" on this pass with an .


getIdentifier

long getIdentifier()
Get the identifier for this pass


setMaterial

void setMaterial(IMaterialPtr mat)
Set the material used by this pass


setMaterialName

void setMaterialName(java.lang.String name)
Set the material used by this pass


getMaterial

IMaterialPtr getMaterial()
Get the material used by this pass


setFirstRenderQueue

void setFirstRenderQueue(short id)
Set the first render queue to be rendered in this pass (inclusive)


getFirstRenderQueue

short getFirstRenderQueue()
Get the first render queue to be rendered in this pass (inclusive)


setLastRenderQueue

void setLastRenderQueue(short id)
Set the last render queue to be rendered in this pass (inclusive)


getLastRenderQueue

short getLastRenderQueue()
Get the last render queue to be rendered in this pass (inclusive)


setClearBuffers

void setClearBuffers(long val)
Set the viewport clear buffers (defaults to FBT_COLOUR|FBT_DEPTH)


getClearBuffers

long getClearBuffers()
Get the viewport clear buffers.


setClearColour

void setClearColour(IColourValue val)
Set the viewport clear colour (defaults to 0,0,0,0)


getClearColour

IColourValue getClearColour()
Get the viewport clear colour (defaults to 0,0,0,0)


setClearDepth

void setClearDepth(float depth)
Set the viewport clear depth (defaults to 1.0)


getClearDepth

float getClearDepth()
Get the viewport clear depth (defaults to 1.0)


setClearStencil

void setClearStencil(long value)
Set the viewport clear stencil value (defaults to 0)


getClearStencil

long getClearStencil()
Get the viewport clear stencil value (defaults to 0)


setStencilCheck

void setStencilCheck(boolean value)
Set stencil check on or off.


getStencilCheck

boolean getStencilCheck()
Get stencil check enable.


setStencilFunc

void setStencilFunc(CompareFunction value)
Set stencil compare function.


getStencilFunc

CompareFunction getStencilFunc()
Get stencil compare function.


setStencilRefValue

void setStencilRefValue(long value)
Set stencil reference value.


getStencilRefValue

long getStencilRefValue()
Get stencil reference value.


setStencilMask

void setStencilMask(long value)
Set stencil mask.


getStencilMask

long getStencilMask()
Get stencil mask.


setStencilFailOp

void setStencilFailOp(StencilOperation value)
Set stencil fail operation.


getStencilFailOp

StencilOperation getStencilFailOp()
Get stencil fail operation.


setStencilDepthFailOp

void setStencilDepthFailOp(StencilOperation value)
Set stencil depth fail operation.


getStencilDepthFailOp

StencilOperation getStencilDepthFailOp()
Get stencil depth fail operation.


setStencilPassOp

void setStencilPassOp(StencilOperation value)
Set stencil pass operation.


getStencilPassOp

StencilOperation getStencilPassOp()
Get stencil pass operation.


setStencilTwoSidedOperation

void setStencilTwoSidedOperation(boolean value)
Set two sided stencil operation.


getStencilTwoSidedOperation

boolean getStencilTwoSidedOperation()
Get two sided stencil operation.


setInput

void setInput(int id,
              java.lang.String input,
              int mrtIndex)
Set an input local texture. An empty string clears the input.


getInput

ICompositionPass.IInputTex getInput(int id)
Get the value of an input.


getNumInputs

int getNumInputs()
Get the number of inputs used.


clearAllInputs

void clearAllInputs()
Clear all inputs.


getParent

ICompositionTargetPass getParent()
Get parent object


_isSupported

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


setQuadCorners

void setQuadCorners(float left,
                    float top,
                    float right,
                    float bottom)
Set quad normalised positions [-1;1]x[-1;1]


getQuadCorners

boolean getQuadCorners(FloatPointer left,
                       FloatPointer top,
                       FloatPointer right,
                       FloatPointer bottom)
Get quad normalised positions [-1;1]x[-1;1]



Copyright © 2007 netAllied GmbH. All Rights Reserved.