C# Class GUI.Types.Renderer.ShaderLoader

Mostra file Open project: SteamDatabase/ValveResourceFormat Class Usage Examples

Public Methods

Method Description
GetShaderFileByName ( string shaderName ) : string
LoadShader ( string shaderName, ArgumentDependencies modelArguments ) : Shader

Private Methods

Method Description
PreprocessVertexShader ( string source, ArgumentDependencies arguments ) : string
ResolveIncludes ( string source ) : string
UpdateDefines ( string source, ArgumentDependencies arguments ) : string

Method Details

GetShaderFileByName() public static method

public static GetShaderFileByName ( string shaderName ) : string
shaderName string
return string

LoadShader() public static method

public static LoadShader ( string shaderName, ArgumentDependencies modelArguments ) : Shader
shaderName string
modelArguments ValveResourceFormat.Blocks.ResourceEditInfoStructs.ArgumentDependencies
return Shader