Table of Contents

Class ConstantBufferDescription

Namespace
ValveResourceFormat.CompiledShader
Assembly
ValveResourceFormat.dll

Describes an external constant buffer and its variables.

public class ConstantBufferDescription : ShaderDataBlock

Inheritance

Inherited Members

Constructors

ConstantBufferDescription(BinaryReader, int)

Initializes a new instance from a binary reader.

public ConstantBufferDescription(BinaryReader datareader, int blockIndex)

Parameters

datareader BinaryReader
blockIndex int

Properties

BlockCrc

Gets the CRC32 checksum of the block.

public uint BlockCrc { get; }

Property Value

uint

BlockIndex

Gets the block index.

public int BlockIndex { get; }

Property Value

int

BufferSize

Gets the buffer size in bytes.

public int BufferSize { get; }

Property Value

int

Name

Gets the constant buffer name.

public string Name { get; }

Property Value

string

Type

Gets the buffer type.

public int Type { get; }

Property Value

int

Variables

Gets the array of variables in this constant buffer.

public ConstantBufferDescription.ConstantBufferVariable[] Variables { get; }

Property Value

ConstantBufferDescription.ConstantBufferVariable[]