Table of Contents

Class TextureReflection

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

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

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

Properties

BindSlot

The texture's bind slot.

public required int BindSlot { get; init; }

Property Value

int

Dimension

The texture's dimensionality (2D, cube, 3D, …).

public required TextureDimension Dimension { get; init; }

Property Value

TextureDimension

Name

The texture's name.

public required string Name { get; init; }

Property Value

string