C# Class EffectEditor.EffectComponents.EffectDefinition

显示文件 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
Components List
Name string
Parameters List
PixelShaders List
Techniques List
VertexShaders List

Public Methods

Method Description
EffectDefinition ( ) : System
EffectDefinition ( String name ) : System
FromFile ( string fileName ) : EffectDefinition

Loads an effect definition from a file

GetEffectCode ( ) : string
Save ( string fileName ) : void

Saves the effect to file

Method Details

EffectDefinition() public method

public EffectDefinition ( ) : System
return System

EffectDefinition() public method

public EffectDefinition ( String name ) : System
name String
return System

FromFile() public static method

Loads an effect definition from a file
public static FromFile ( string fileName ) : EffectDefinition
fileName string The name of the effect file
return EffectDefinition

GetEffectCode() public method

public GetEffectCode ( ) : string
return string

Save() public method

Saves the effect to file
public Save ( string fileName ) : void
fileName string The name of the effect file
return void

Property Details

Components public_oe property

The components used by this effect
public List Components
return List

Name public_oe property

The name of this effect
public string Name
return string

Parameters public_oe property

Parameters available in this effect
public List Parameters
return List

PixelShaders public_oe property

Pixel shader components
public List PixelShaders
return List

Techniques public_oe property

public List Techniques
return List

VertexShaders public_oe property

Vertex shader components
public List VertexShaders
return List