C# Class ShaderCompiler.Core.CodeFile

Datei anzeigen Open project: reignstudios/ReignSDK Class Usage Examples

Public Properties

Property Type Description
Code string
ReletivePath string

Public Methods

Method Description
CodeFile ( string code ) : System
CodeFile ( string code, string reletivePath ) : System
FindMethodBlock ( Type shader, MethodInfo method, CompilerOutputs outputType ) : string
IsFileOfShader ( Type shader ) : bool

Private Methods

Method Description
getBlockEnd ( string code ) : int

Method Details

CodeFile() public method

public CodeFile ( string code ) : System
code string
return System

CodeFile() public method

public CodeFile ( string code, string reletivePath ) : System
code string
reletivePath string
return System

FindMethodBlock() public method

public FindMethodBlock ( Type shader, MethodInfo method, CompilerOutputs outputType ) : string
shader System.Type
method System.Reflection.MethodInfo
outputType CompilerOutputs
return string

IsFileOfShader() public method

public IsFileOfShader ( Type shader ) : bool
shader System.Type
return bool

Property Details

Code public_oe property

public string Code
return string

ReletivePath public_oe property

public string ReletivePath
return string