Struct ConstantBufferDescription.ConstantBufferVariable ​
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
Represents a variable within a constant buffer.
csharp
public readonly record struct ConstantBufferDescription.ConstantBufferVariable : IEquatable<ConstantBufferDescription.ConstantBufferVariable>Implements ​
IEquatable<ConstantBufferDescription.ConstantBufferVariable>
Constructors ​
ConstantBufferVariable(string, int, int, int, int) ​
Represents a variable within a constant buffer.
csharp
public ConstantBufferVariable(string Name, int Offset, int VectorSize, int Depth, int Length)Parameters ​
Name string
Offset int
VectorSize int
Depth int
Length int
Properties ​
Depth ​
csharp
public int Depth { get; init; }Property Value ​
Length ​
csharp
public int Length { get; init; }Property Value ​
Name ​
csharp
public string Name { get; init; }Property Value ​
Offset ​
csharp
public int Offset { get; init; }Property Value ​
VectorSize ​
csharp
public int VectorSize { get; init; }
