Struct ShaderLoader.ExpressionBlock ​
Namespace: ValveResourceFormat.Renderer.Shaders
Assembly: Renderer.dll
A /* Expressions block of uniform assignments in a shader file.
csharp
public readonly record struct ShaderLoader.ExpressionBlock : IEquatable<ShaderLoader.ExpressionBlock>Implements ​
IEquatable<ShaderLoader.ExpressionBlock>
Constructors ​
ExpressionBlock(string, string, int) ​
A /* Expressions block of uniform assignments in a shader file.
csharp
public ExpressionBlock(string Source, string File, int Line)Parameters ​
Source string
The statements between the comment markers.
File string
The shader file the block is in.
Line int
The line of the first statement.
Properties ​
File ​
The shader file the block is in.
csharp
public string File { get; init; }Property Value ​
string
Line ​
The line of the first statement.
csharp
public int Line { get; init; }Property Value ​
int
Source ​
The statements between the comment markers.
csharp
public string Source { get; init; }Property Value ​
string

