Table of Contents

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

Name string
Offset int
VectorSize int
Depth int
Length int

Properties

Depth

public int Depth { get; init; }

Property Value

int

Length

public int Length { get; init; }

Property Value

int

Name

public string Name { get; init; }

Property Value

string

Offset

public int Offset { get; init; }

Property Value

int

VectorSize

public int VectorSize { get; init; }

Property Value

int