using Ghost.Core; namespace Ghost.Graphics.D3D12; internal readonly struct RTVDescriptor; internal readonly struct DSVDescriptor; internal readonly struct CbvSrvUavDescriptor; internal readonly struct SamplerDescriptor; internal struct ResourceViewGroup { public Identifier rtv; public Identifier dsv; public Identifier srv; public Identifier cbv; public Identifier uav; public Identifier sampler; public static ResourceViewGroup Invalid => new() { rtv = Identifier.Invalid, dsv = Identifier.Invalid, srv = Identifier.Invalid, cbv = Identifier.Invalid, uav = Identifier.Invalid, sampler = Identifier.Invalid, }; }