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