Class ShaderJob

Namespace
Elegy.ShaderTool
Assembly
Elegy.ShaderTool.dll
public class ShaderJob
Inheritance
ShaderJob
Inherited Members

Constructors

ShaderJob(string, string, string, string)

public ShaderJob(string shaderFile, string shaderOutput, string shaderContents, string arguments)

Parameters

shaderFile string
shaderOutput string
shaderContents string
arguments string

Properties

Arguments

public string Arguments { get; }

Property Value

string

ErrorMessage

public string ErrorMessage { get; }

Property Value

string

ShaderContents

public string ShaderContents { get; }

Property Value

string

ShaderFile

public string ShaderFile { get; }

Property Value

string

ShaderOutput

public string ShaderOutput { get; }

Property Value

string

Methods

ForComputeShader(string, string, string, string)

public static ShaderJob ForComputeShader(string shaderDirectory, string shaderFile, string shaderOutput, string shaderContents)

Parameters

shaderDirectory string
shaderFile string
shaderOutput string
shaderContents string

Returns

ShaderJob

ForPixelShader(string, string, string, string)

public static ShaderJob ForPixelShader(string shaderDirectory, string shaderFile, string shaderOutput, string shaderContents)

Parameters

shaderDirectory string
shaderFile string
shaderOutput string
shaderContents string

Returns

ShaderJob

ForVertexShader(string, string, string, string)

public static ShaderJob ForVertexShader(string shaderDirectory, string shaderFile, string shaderOutput, string shaderContents)

Parameters

shaderDirectory string
shaderFile string
shaderOutput string
shaderContents string

Returns

ShaderJob

Run(bool)

public bool Run(bool force)

Parameters

force bool

Returns

bool