C# Класс Axiom.Graphics.CompositionTechnique

Base composition technique, can be subclassed in plugins.
Наследование: DisposableObject
Показать файл Открыть проект Примеры использования класса

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

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