Class ShaderProcessor

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

Constructors

ShaderProcessor(string, string)

public ShaderProcessor(string filePath, string contents)

Parameters

filePath string
contents string

Fields

PostProcessHint

public bool PostProcessHint

Field Value

bool

Properties

CommonShaderContents

public string CommonShaderContents { get; }

Property Value

string

Contents

public string Contents { get; }

Property Value

string

FilePath

public string FilePath { get; }

Property Value

string

ParameterSets

public List<GlslMaterialParameterSet> ParameterSets { get; }

Property Value

List<GlslMaterialParameterSet>

Permutations

public List<ShaderPermutation> Permutations { get; }

Property Value

List<ShaderPermutation>

PixelInputs

public List<GlslInput> PixelInputs { get; }

Property Value

List<GlslInput>

PixelShaderRegions

public Dictionary<string, string> PixelShaderRegions { get; }

Property Value

Dictionary<string, string>

ShaderVariants

public List<string> ShaderVariants { get; }

Property Value

List<string>

TemplateName

public string TemplateName { get; }

Property Value

string

VertexInputs

public List<GlslInput> VertexInputs { get; }

Property Value

List<GlslInput>

VertexShaderRegions

public Dictionary<string, string> VertexShaderRegions { get; }

Property Value

Dictionary<string, string>

Methods

CreatePermutations()

public bool CreatePermutations()

Returns

bool

CreateShaderTemplate()

public ShaderTemplate CreateShaderTemplate()

Returns

ShaderTemplate