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.
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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