C# Class Axiom.Graphics.CompositionPass

Object representing one pass or operation in a composition sequence. This provides a method to conviently interleave RenderSystem commands between Render Queues.
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Свойство Type Description
clearBuffers FrameBufferType
clearColor Axiom.Core.ColorEx
clearDepth float
clearStencil int
customType string
firstRenderQueue RenderQueueGroupID
identifier uint
inputs InputTexture[]
lastRenderQueue RenderQueueGroupID
material Material
materialSchemeName string
parent CompositionTargetPass
quadBottom float
quadCornerModified bool
quadFarCorners bool
quadFarCornersViewSpace bool
quadLeft float
quadRight float
quadTop float
stencilCheck bool
stencilDepthFailOp StencilOperation
stencilFailOp StencilOperation
stencilFunc CompareFunction
stencilMask int
stencilPassOp StencilOperation
stencilRefValue int
stencilTwoSidedOperation bool
type CompositorPassType

Méthodes publiques

Méthode Description
ClearAllInputs ( ) : void

Clear all inputs.

Note applies when CompositorPassType is RenderQuad

CompositionPass ( CompositionTargetPass parent ) : System
GetInput ( int id ) : InputTexture

Get the value of an input.

Note applies when CompositorPassType is RenderQuad

GetQuadCorners ( float &left, float &top, float &right, float &bottom ) : bool

Get quad normalised positions [-1;1]x[-1;1]

SetInput ( int id ) : void
SetInput ( int id, string name ) : void
SetInput ( int id, string name, int mrtIndex ) : void

Set an input local texture. An empty string clears the input.

Note applies when CompositorPassType is RenderQuad

SetQuadCorners ( float left, float top, float right, float bottom ) : void

Set quad normalised positions [-1;1]x[-1;1]

SetQuadFarCorners ( bool farCorners, bool farCornersViewSpace ) : void

Sets the use of camera frustum far corners provided in the quad's normals

Method Details

ClearAllInputs() public méthode

Clear all inputs.
Note applies when CompositorPassType is RenderQuad
public ClearAllInputs ( ) : void
Résultat void

CompositionPass() public méthode

public CompositionPass ( CompositionTargetPass parent ) : System
parent CompositionTargetPass
Résultat System

GetInput() public méthode

Get the value of an input.
Note applies when CompositorPassType is RenderQuad
public GetInput ( int id ) : InputTexture
id int Input to get. Must be in 0..Config.MaxTextureLayers-1.
Résultat InputTexture

GetQuadCorners() public méthode

Get quad normalised positions [-1;1]x[-1;1]
public GetQuadCorners ( float &left, float &top, float &right, float &bottom ) : bool
left float
top float
right float
bottom float
Résultat bool

SetInput() public méthode

public SetInput ( int id ) : void
id int
Résultat void

SetInput() public méthode

public SetInput ( int id, string name ) : void
id int
name string
Résultat void

SetInput() public méthode

Set an input local texture. An empty string clears the input.
Note applies when CompositorPassType is RenderQuad
public SetInput ( int id, string name, int mrtIndex ) : void
id int Input to set. Must be in 0..Config.MaxTextureLayers-1
name string Which texture to bind to this input. An empty string clears the input.
mrtIndex int
Résultat void

SetQuadCorners() public méthode

Set quad normalised positions [-1;1]x[-1;1]
public SetQuadCorners ( float left, float top, float right, float bottom ) : void
left float
top float
right float
bottom float
Résultat void

SetQuadFarCorners() public méthode

Sets the use of camera frustum far corners provided in the quad's normals
public SetQuadFarCorners ( bool farCorners, bool farCornersViewSpace ) : void
farCorners bool
farCornersViewSpace bool
Résultat void

Property Details

clearBuffers protected_oe property

Clear buffers (in case of CompositorPassType.Clear)
protected FrameBufferType clearBuffers
Résultat FrameBufferType

clearColor protected_oe property

Clear colour (in case of CompositorPassType.Clear)
protected ColorEx,Axiom.Core clearColor
Résultat Axiom.Core.ColorEx

clearDepth protected_oe property

Clear depth (in case of CompositorPassType.Clear)
protected float clearDepth
Résultat float

clearStencil protected_oe property

Clear stencil value (in case of CompositorPassType.Clear)
protected int clearStencil
Résultat int

customType protected_oe property

protected string customType
Résultat string

firstRenderQueue protected_oe property

first render queue to render this pass (in case of CompositorPassType.RenderScene)
protected RenderQueueGroupID firstRenderQueue
Résultat RenderQueueGroupID

identifier protected_oe property

Identifier for this pass
protected uint identifier
Résultat uint

inputs protected_oe property

Inputs (for material used for rendering the quad) An empty string signifies that no input is used
protected InputTexture[] inputs
Résultat InputTexture[]

lastRenderQueue protected_oe property

last render queue to render this pass (in case of CompositorPassType.RenderScene)
protected RenderQueueGroupID lastRenderQueue
Résultat RenderQueueGroupID

material protected_oe property

Material used for rendering
protected Material,Axiom.Graphics material
Résultat Material

materialSchemeName protected_oe property

Material scheme name
protected string materialSchemeName
Résultat string

parent protected_oe property

Parent technique
protected CompositionTargetPass,Axiom.Graphics parent
Résultat CompositionTargetPass

quadBottom protected_oe property

quad positions in normalised coordinates [-1;1]x[-1;1] (in case of RENDERQUAD)
protected float quadBottom
Résultat float

quadCornerModified protected_oe property

true if quad should not cover whole screen
protected bool quadCornerModified
Résultat bool

quadFarCorners protected_oe property

protected bool quadFarCorners
Résultat bool

quadFarCornersViewSpace protected_oe property

protected bool quadFarCornersViewSpace
Résultat bool

quadLeft protected_oe property

quad positions in normalised coordinates [-1;1]x[-1;1] (in case of RENDERQUAD)
protected float quadLeft
Résultat float

quadRight protected_oe property

quad positions in normalised coordinates [-1;1]x[-1;1] (in case of RENDERQUAD)
protected float quadRight
Résultat float

quadTop protected_oe property

quad positions in normalised coordinates [-1;1]x[-1;1] (in case of RENDERQUAD)
protected float quadTop
Résultat float

stencilCheck protected_oe property

Stencil operation parameters
protected bool stencilCheck
Résultat bool

stencilDepthFailOp protected_oe property

protected StencilOperation stencilDepthFailOp
Résultat StencilOperation

stencilFailOp protected_oe property

protected StencilOperation stencilFailOp
Résultat StencilOperation

stencilFunc protected_oe property

protected CompareFunction stencilFunc
Résultat CompareFunction

stencilMask protected_oe property

protected int stencilMask
Résultat int

stencilPassOp protected_oe property

protected StencilOperation stencilPassOp
Résultat StencilOperation

stencilRefValue protected_oe property

protected int stencilRefValue
Résultat int

stencilTwoSidedOperation protected_oe property

protected bool stencilTwoSidedOperation
Résultat bool

type protected_oe property

Type of composition pass
protected CompositorPassType type
Résultat CompositorPassType