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
Dimension
The texture's dimensionality (2D, cube, 3D, …).
public required TextureDimension Dimension { get; init; }
Property Value
Name
The texture's name.
public required string Name { get; init; }
Property Value
RawBinding
The raw SPIR-V Binding decoration (unlike BindSlot, which is a
class-relative renumbering for the DXIL-oracle-equivalent GL/DX record shape). Used
only by the Vulkan container's descriptor-layout table. Default 0 for non-Vulkan.
public int RawBinding { get; init; }
Property Value
RawDescriptorSet
The raw SPIR-V DescriptorSet decoration. See RawBinding.
public int RawDescriptorSet { get; init; }