namespace ComputeSharp.SourceGenerators.Models; /// /// A resource descriptor for a captured resource in a shader. /// /// The type id for the resource. /// The offset of the resource in its containing register. /// The offset of the resource descriptor in the shader root signature. internal sealed record ResourceDescriptor(int TypeId, int RegisterOffset, int Offset);