user1090249
user1090249

Reputation:

What is the point of DXGI_USAGE_UNORDERED_ACCESS buffer usage in swapchain?

DirectX 11 allows swapchains with DXGI_USAGE_UNORDERED_ACCESS, but there is no way of setting the required CPUAccess flag ( D3D11_CPU_ACCESS_WRITE ).
What is the purpose of such swapchain?

Upvotes: 0

Views: 344

Answers (1)

Chuck Walbourn
Chuck Walbourn

Reputation: 41067

DXGI_USAGE_UNORDERED_ACCESS is used for writing to a resource as a UAV from a compute shader, not the CPU.

Upvotes: 1

Related Questions