C# Class EffectEditor.EffectComponents.EffectDefinition

Show file 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 property

The components used by this effect
public List Components
return List

Name public property

The name of this effect
public string Name
return string

Parameters public property

Parameters available in this effect
public List Parameters
return List

PixelShaders public property

Pixel shader components
public List PixelShaders
return List

Techniques public property

public List Techniques
return List

VertexShaders public property

Vertex shader components
public List VertexShaders
return List