Table of Contents

Class SamplerReflection

Namespace
ShadowDusk.Core.Reflection
Assembly
ShadowDusk.Core.dll

A reflected sampler binding: its name, bind slot, and associated texture.

public sealed record SamplerReflection : IEquatable<SamplerReflection>
Inheritance
SamplerReflection
Implements
Inherited Members

Properties

BindSlot

The sampler's bind slot.

public required int BindSlot { get; init; }

Property Value

int

Name

The sampler's name.

public required string Name { get; init; }

Property Value

string

TextureName

The name of the texture this sampler is paired with, if known.

public string? TextureName { get; init; }

Property Value

string