C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Описание методов

ClearAllInputs() публичный метод

Clear all inputs.
Note applies when CompositorPassType is RenderQuad
public ClearAllInputs ( ) : void
Результат void

CompositionPass() публичный метод

public CompositionPass ( CompositionTargetPass parent ) : System
parent CompositionTargetPass
Результат System

GetInput() публичный метод

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.
Результат InputTexture

GetQuadCorners() публичный метод

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
Результат bool

SetInput() публичный метод

public SetInput ( int id ) : void
id int
Результат void

SetInput() публичный метод

public SetInput ( int id, string name ) : void
id int
name string
Результат void

SetInput() публичный метод

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
Результат void

SetQuadCorners() публичный метод

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
Результат void

SetQuadFarCorners() публичный метод

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
Результат void

Описание свойств

clearBuffers защищенное свойство

Clear buffers (in case of CompositorPassType.Clear)
protected FrameBufferType clearBuffers
Результат FrameBufferType

clearColor защищенное свойство

Clear colour (in case of CompositorPassType.Clear)
protected ColorEx,Axiom.Core clearColor
Результат Axiom.Core.ColorEx

clearDepth защищенное свойство

Clear depth (in case of CompositorPassType.Clear)
protected float clearDepth
Результат float

clearStencil защищенное свойство

Clear stencil value (in case of CompositorPassType.Clear)
protected int clearStencil
Результат int

customType защищенное свойство

protected string customType
Результат string

firstRenderQueue защищенное свойство

first render queue to render this pass (in case of CompositorPassType.RenderScene)
protected RenderQueueGroupID firstRenderQueue
Результат RenderQueueGroupID

identifier защищенное свойство

Identifier for this pass
protected uint identifier
Результат uint

inputs защищенное свойство

Inputs (for material used for rendering the quad) An empty string signifies that no input is used
protected InputTexture[] inputs
Результат InputTexture[]

lastRenderQueue защищенное свойство

last render queue to render this pass (in case of CompositorPassType.RenderScene)
protected RenderQueueGroupID lastRenderQueue
Результат RenderQueueGroupID

material защищенное свойство

Material used for rendering
protected Material,Axiom.Graphics material
Результат Material

materialSchemeName защищенное свойство

Material scheme name
protected string materialSchemeName
Результат string

parent защищенное свойство

Parent technique
protected CompositionTargetPass,Axiom.Graphics parent
Результат CompositionTargetPass

quadBottom защищенное свойство

quad positions in normalised coordinates [-1;1]x[-1;1] (in case of RENDERQUAD)
protected float quadBottom
Результат float

quadCornerModified защищенное свойство

true if quad should not cover whole screen
protected bool quadCornerModified
Результат bool

quadFarCorners защищенное свойство

protected bool quadFarCorners
Результат bool

quadFarCornersViewSpace защищенное свойство

protected bool quadFarCornersViewSpace
Результат bool

quadLeft защищенное свойство

quad positions in normalised coordinates [-1;1]x[-1;1] (in case of RENDERQUAD)
protected float quadLeft
Результат float

quadRight защищенное свойство

quad positions in normalised coordinates [-1;1]x[-1;1] (in case of RENDERQUAD)
protected float quadRight
Результат float

quadTop защищенное свойство

quad positions in normalised coordinates [-1;1]x[-1;1] (in case of RENDERQUAD)
protected float quadTop
Результат float

stencilCheck защищенное свойство

Stencil operation parameters
protected bool stencilCheck
Результат bool

stencilDepthFailOp защищенное свойство

protected StencilOperation stencilDepthFailOp
Результат StencilOperation

stencilFailOp защищенное свойство

protected StencilOperation stencilFailOp
Результат StencilOperation

stencilFunc защищенное свойство

protected CompareFunction stencilFunc
Результат CompareFunction

stencilMask защищенное свойство

protected int stencilMask
Результат int

stencilPassOp защищенное свойство

protected StencilOperation stencilPassOp
Результат StencilOperation

stencilRefValue защищенное свойство

protected int stencilRefValue
Результат int

stencilTwoSidedOperation защищенное свойство

protected bool stencilTwoSidedOperation
Результат bool

type защищенное свойство

Type of composition pass
protected CompositorPassType type
Результат CompositorPassType