C# Class EffectEditor.EffectComponents.EffectComponent

An effect component - a function and information about return values
Inheritance: IComparable
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
AvailableToPixelShader bool
AvailableToVertexShader bool
Code String
IsInline bool
MinimumPixelShaderProfile string
MinimumVertexShaderProfile string
Name String
Parameters List
ReturnType List

Méthodes publiques

Méthode Description
CompareTo ( object obj ) : int
EffectComponent ( ) : System

Creates an empty effect component

FromFile ( String fileName ) : EffectComponent

Loads an effect component from file

FunctionHelperString ( ) : String

Gets a string to help with coding

FunctionString ( ) : String

Gets the function as a string

OutputStruct ( ) : String

Gets the output structure definition as a string

Save ( String fileName ) : void

Saves the component to a file

ToString ( ) : string

Method Details

CompareTo() public méthode

public CompareTo ( object obj ) : int
obj object
Résultat int

EffectComponent() public méthode

Creates an empty effect component
public EffectComponent ( ) : System
Résultat System

FromFile() public static méthode

Loads an effect component from file
public static FromFile ( String fileName ) : EffectComponent
fileName String The name of the file
Résultat EffectComponent

FunctionHelperString() public méthode

Gets a string to help with coding
public FunctionHelperString ( ) : String
Résultat String

FunctionString() public méthode

Gets the function as a string
public FunctionString ( ) : String
Résultat String

OutputStruct() public méthode

Gets the output structure definition as a string
public OutputStruct ( ) : String
Résultat String

Save() public méthode

Saves the component to a file
public Save ( String fileName ) : void
fileName String The name of the file
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

AvailableToPixelShader public_oe property

Whether or not this component is available to a pixel shader
public bool AvailableToPixelShader
Résultat bool

AvailableToVertexShader public_oe property

Whether or not this component is available to a vertex shader
public bool AvailableToVertexShader
Résultat bool

Code public_oe property

The code for this component, without the function signature (this is auto-generated)
public String Code
Résultat String

IsInline public_oe property

Whether or not the function should be inline
public bool IsInline
Résultat bool

MinimumPixelShaderProfile public_oe property

The minimum pixel shader profile required to run this component (if available to pixel shaders)
public string MinimumPixelShaderProfile
Résultat string

MinimumVertexShaderProfile public_oe property

The minimum vertex shader profile required to run this component (if available to vertex shaders)
public string MinimumVertexShaderProfile
Résultat string

Name public_oe property

the name of this component Spaces are not allowed
public String Name
Résultat String

Parameters public_oe property

The parameters required by this component
public List Parameters
Résultat List

ReturnType public_oe property

The return type of this component (always a struct for simplicity on the backend)
public List ReturnType
Résultat List