C# 클래스 Axiom.Graphics.CompositionTechnique

Base composition technique, can be subclassed in plugins.
상속: DisposableObject
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
compositorLogicName string
outputTarget CompositionTargetPass
parent Compositor
schemeName string
targetPasses List
textureDefinitions List

공개 메소드들

메소드 설명
CompositionTechnique ( Compositor parent ) : System

Create's a new Composition technique

CreateTargetPass ( ) : CompositionTargetPass

Create's a new target pass.

CreateTextureDefinition ( string name ) : TextureDefinition

Create a new local texture definition, and return a pointer to it.

GetTargetPass ( int index ) : CompositionTargetPass

Get's a target passs by index.

GetTextureDefinition ( int index ) : TextureDefinition

Get's a local texture definition by index.

GetTextureDefinition ( string name ) : TextureDefinition

Get's a local texture definition by name.

IsSupported ( bool allowTextureDegradation ) : bool

Determine if this technique is supported on the current rendering device.

A technique is supported if all materials referenced have a supported technique, and the intermediate texture formats requested are supported Material support is a cast-iron requirement, but if no texture formats are directly supported we can let the rendersystem create the closest match for the least demanding technique

RemoveAllTargetPasses ( ) : void

Remove's all target passes from this technique.

RemoveAllTextureDefinitions ( ) : void

Remove's all texture definitions.

RemoveTargetPass ( int index ) : void

Remove's and destroys a target pass.

RemoveTextureDefinition ( int index ) : void

Remove and destroy a local texture definition.

메소드 상세

CompositionTechnique() 공개 메소드

Create's a new Composition technique
public CompositionTechnique ( Compositor parent ) : System
parent Compositor parent of this technique
리턴 System

CreateTargetPass() 공개 메소드

Create's a new target pass.
public CreateTargetPass ( ) : CompositionTargetPass
리턴 CompositionTargetPass

CreateTextureDefinition() 공개 메소드

Create a new local texture definition, and return a pointer to it.
public CreateTextureDefinition ( string name ) : TextureDefinition
name string name of the local texture
리턴 TextureDefinition

GetTargetPass() 공개 메소드

Get's a target passs by index.
public GetTargetPass ( int index ) : CompositionTargetPass
index int index of the target pass
리턴 CompositionTargetPass

GetTextureDefinition() 공개 메소드

Get's a local texture definition by index.
public GetTextureDefinition ( int index ) : TextureDefinition
index int index of the texture definition
리턴 TextureDefinition

GetTextureDefinition() 공개 메소드

Get's a local texture definition by name.
public GetTextureDefinition ( string name ) : TextureDefinition
name string name of the texture definition
리턴 TextureDefinition

IsSupported() 공개 메소드

Determine if this technique is supported on the current rendering device.
A technique is supported if all materials referenced have a supported technique, and the intermediate texture formats requested are supported Material support is a cast-iron requirement, but if no texture formats are directly supported we can let the rendersystem create the closest match for the least demanding technique
public IsSupported ( bool allowTextureDegradation ) : bool
allowTextureDegradation bool True to accept a reduction in texture depth
리턴 bool

RemoveAllTargetPasses() 공개 메소드

Remove's all target passes from this technique.
public RemoveAllTargetPasses ( ) : void
리턴 void

RemoveAllTextureDefinitions() 공개 메소드

Remove's all texture definitions.
public RemoveAllTextureDefinitions ( ) : void
리턴 void

RemoveTargetPass() 공개 메소드

Remove's and destroys a target pass.
public RemoveTargetPass ( int index ) : void
index int index of the target pass to remove to.
리턴 void

RemoveTextureDefinition() 공개 메소드

Remove and destroy a local texture definition.
public RemoveTextureDefinition ( int index ) : void
index int
리턴 void

프로퍼티 상세

compositorLogicName 보호되어 있는 프로퍼티

Optional compositor logic name
protected string compositorLogicName
리턴 string

outputTarget 보호되어 있는 프로퍼티

Output target pass (can be only one)
protected CompositionTargetPass,Axiom.Graphics outputTarget
리턴 CompositionTargetPass

parent 보호되어 있는 프로퍼티

Parent compositor.
protected Compositor,Axiom.Graphics parent
리턴 Compositor

schemeName 보호되어 있는 프로퍼티

Optional scheme name
protected string schemeName
리턴 string

targetPasses 보호되어 있는 프로퍼티

Intermediate target passes
protected List targetPasses
리턴 List

textureDefinitions 보호되어 있는 프로퍼티

local texture definitions.
protected List textureDefinitions
리턴 List