enum
ResourceState
public sealed enum ResourceState : Enum Used to describe a GPU resources state for barrier transitions.
Remarks
There are intended to be a high level generic of resource states that can be translated to any lower level graphics APIs. (VK/D3D12/Metal)
Enum Values
| Name | Value | Description |
|---|---|---|
Common | | |
Present | | |
VertexOrIndexBuffer | | |
RenderTarget | | |
UnorderedAccess | | |
DepthWrite | | |
DepthRead | | |
NonPixelShaderResource | | |
PixelShaderResource | | |
StreamOut | | |
IndirectArgument | | |
Predication | | |
CopyDestination | | |
CopySource | | |
ResolveDestination | | |
ResolveSource | | |
GenericRead | | |
AllShaderResource | | |
VertexAndConstantBuffer | | |
IndexBuffer | |