Class ShaderProcessor
- Namespace
- Elegy.ShaderTool
- Assembly
- Elegy.ShaderTool.dll
public class ShaderProcessor
- Inheritance
-
ShaderProcessor
- Inherited Members
-
Constructors
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
public string FilePath { get; }
Property Value
- string
public List<GlslMaterialParameterSet> ParameterSets { get; }
Property Value
- List<GlslMaterialParameterSet>
public List<ShaderPermutation> Permutations { get; }
Property Value
- List<ShaderPermutation>
public List<GlslInput> PixelInputs { get; }
Property Value
- List<GlslInput>
public Dictionary<string, string> PixelShaderRegions { get; }
Property Value
- Dictionary<string, string>
public List<string> ShaderVariants { get; }
Property Value
- List<string>
public string TemplateName { get; }
Property Value
- string
public List<GlslInput> VertexInputs { get; }
Property Value
- List<GlslInput>
public Dictionary<string, string> VertexShaderRegions { get; }
Property Value
- Dictionary<string, string>
Methods
public bool CreatePermutations()
Returns
- bool
public ShaderTemplate CreateShaderTemplate()
Returns
- ShaderTemplate