The ResourceState enumeration in the Sandbox.Rendering
namespace is used to describe the state of a GPU resource for barrier transitions. It is designed to match DX12's D3D12_RESOURCE_STATES
, providing a high-level description of resource states that can be translated to lower-level graphics APIs.