Class ShaderJob
- Namespace
- Elegy.ShaderTool
- Assembly
- Elegy.ShaderTool.dll
- Inheritance
-
ShaderJob
- Inherited Members
-
Constructors
public ShaderJob(string shaderFile, string shaderOutput, string shaderContents, string arguments)
Parameters
shaderFile
string
shaderOutput
string
shaderContents
string
arguments
string
Properties
public string Arguments { get; }
Property Value
- string
public string ErrorMessage { get; }
Property Value
- string
ShaderContents
public string ShaderContents { get; }
Property Value
- string
public string ShaderFile { get; }
Property Value
- string
public string ShaderOutput { get; }
Property Value
- string
Methods
public static ShaderJob ForComputeShader(string shaderDirectory, string shaderFile, string shaderOutput, string shaderContents)
Parameters
shaderDirectory
string
shaderFile
string
shaderOutput
string
shaderContents
string
Returns
- ShaderJob
public static ShaderJob ForPixelShader(string shaderDirectory, string shaderFile, string shaderOutput, string shaderContents)
Parameters
shaderDirectory
string
shaderFile
string
shaderOutput
string
shaderContents
string
Returns
- ShaderJob
public static ShaderJob ForVertexShader(string shaderDirectory, string shaderFile, string shaderOutput, string shaderContents)
Parameters
shaderDirectory
string
shaderFile
string
shaderOutput
string
shaderContents
string
Returns
- ShaderJob
public bool Run(bool force)
Parameters
force
bool
Returns
- bool