DXGI_USAGE_SHADER_INPUT
Can someone explain what is the purpose of
DXGI_USAGE_SHADER_INPUT
in the BufferUsage field of the DXGI_SWAP_CHAIN_DESC
structure when creating a swap chain?
Can someone explain what is the purpose of
DXGI_USAGE_SHADER_INPUT
in the BufferUsage field of the DXGI_SWAP_CHAIN_DESC
structure when creating a swap chain?
This is needed if you want to use your back buffer as input for the shaders. Think about full screen post filter and you know the answer.