Struct PreprocessShader
Effect preprocess shader.
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects.Analyzer
Assembly: Evergine.Framework.dll
Syntax
public struct PreprocessShader
Fields
LineInfos
The preprocess shader line infos.
Declaration
public LineInfo[] LineInfos
Field Value
Type | Description |
---|---|
LineInfo[] |
ResourceLayoutUsage
Gets the resource layout usage.
Declaration
public GraphicsResourceUsage[] ResourceLayoutUsage
Field Value
Type | Description |
---|---|
GraphicsResourceUsage[] |
Properties
ShaderCode
Gets the shader code.
Declaration
public string ShaderCode { get; }
Property Value
Type | Description |
---|---|
string |
Methods
TranslateLineShader(int)
Translates the line from source shader to preprocessed shader line.
Declaration
public int TranslateLineShader(int lineNumber)
Parameters
Type | Name | Description |
---|---|---|
int | lineNumber | The line number. |
Returns
Type | Description |
---|---|
int | The line number in the preprocessed shader. |