Table of Contents

Struct ShaderSpirvReflection.BindingPointConfiguration

Namespace
ValveResourceFormat.CompiledShader
Assembly
ValveResourceFormat.dll

Configuration for SPIR-V binding point offsets for a specific VCS version.

public readonly record struct ShaderSpirvReflection.BindingPointConfiguration : IEquatable<ShaderSpirvReflection.BindingPointConfiguration>

Implements

Inherited Members

Constructors

BindingPointConfiguration(int, int, int, int, int)

Configuration for SPIR-V binding point offsets for a specific VCS version.

public BindingPointConfiguration(int TextureStartingPoint, int TextureIndexStartingPoint, int SamplerStartingPoint, int StorageBufferStartingPoint, int VsGsBufferBindingOffset = 0)

Parameters

TextureStartingPoint int

Starting binding point for regular textures.

TextureIndexStartingPoint int

Starting binding point for bindless texture arrays.

SamplerStartingPoint int

Starting binding point for samplers.

StorageBufferStartingPoint int

Starting binding point for storage buffers.

VsGsBufferBindingOffset int

Offset for vertex/geometry shader buffers. Zero if using buffer sets.

Properties

SamplerStartingPoint

Starting binding point for samplers.

public int SamplerStartingPoint { get; init; }

Property Value

int

StorageBufferStartingPoint

Starting binding point for storage buffers.

public int StorageBufferStartingPoint { get; init; }

Property Value

int

TextureIndexStartingPoint

Starting binding point for bindless texture arrays.

public int TextureIndexStartingPoint { get; init; }

Property Value

int

TextureStartingPoint

Starting binding point for regular textures.

public int TextureStartingPoint { get; init; }

Property Value

int

VsGsBufferBindingOffset

Offset for vertex/geometry shader buffers. Zero if using buffer sets.

public int VsGsBufferBindingOffset { get; init; }

Property Value

int