C# Class SettingsCompiler.Setting

ファイルを表示 Open project: TheRealMJP/Shadows

Public Properties

Property Type Description
DisplayName string
Group string
HelpText String
Name string
Type SettingType
UseAsShaderConstant bool

Public Methods

Method Description
FloatString ( float num ) : string
MakeParameter ( Color parameter ) : string
MakeParameter ( Direction parameter ) : string
MakeParameter ( Orientation parameter ) : string
MakeParameter ( bool parameter ) : string
MakeParameter ( float parameter ) : string
MakeParameter ( int parameter ) : string
MakeParameter ( string parameter ) : string
Setting ( FieldInfo field, SettingType type, string group ) : System
WriteCBufferStruct ( List lines, uint &cbSize ) : void
WriteCBufferUpdate ( List lines ) : void
WriteDeclaration ( List lines ) : void
WriteDefinition ( List lines ) : void
WriteHLSL ( List lines ) : void
WriteInitialization ( List lines ) : void

Method Details

FloatString() public static method

public static FloatString ( float num ) : string
num float
return string

MakeParameter() public static method

public static MakeParameter ( Color parameter ) : string
parameter Color
return string

MakeParameter() public static method

public static MakeParameter ( Direction parameter ) : string
parameter Direction
return string

MakeParameter() public static method

public static MakeParameter ( Orientation parameter ) : string
parameter Orientation
return string

MakeParameter() public static method

public static MakeParameter ( bool parameter ) : string
parameter bool
return string

MakeParameter() public static method

public static MakeParameter ( float parameter ) : string
parameter float
return string

MakeParameter() public static method

public static MakeParameter ( int parameter ) : string
parameter int
return string

MakeParameter() public static method

public static MakeParameter ( string parameter ) : string
parameter string
return string

Setting() public method

public Setting ( FieldInfo field, SettingType type, string group ) : System
field System.Reflection.FieldInfo
type SettingType
group string
return System

WriteCBufferStruct() public method

public WriteCBufferStruct ( List lines, uint &cbSize ) : void
lines List
cbSize uint
return void

WriteCBufferUpdate() public method

public WriteCBufferUpdate ( List lines ) : void
lines List
return void

WriteDeclaration() public abstract method

public abstract WriteDeclaration ( List lines ) : void
lines List
return void

WriteDefinition() public abstract method

public abstract WriteDefinition ( List lines ) : void
lines List
return void

WriteHLSL() public method

public WriteHLSL ( List lines ) : void
lines List
return void

WriteInitialization() public abstract method

public abstract WriteInitialization ( List lines ) : void
lines List
return void

Property Details

DisplayName public_oe property

public string DisplayName
return string

Group public_oe property

public string Group
return string

HelpText public_oe property

public String HelpText
return String

Name public_oe property

public string Name
return string

Type public_oe property

public SettingType Type
return SettingType

UseAsShaderConstant public_oe property

public bool UseAsShaderConstant
return bool