New answers tagged


Direct3D supports 'type re-casting' within limits. You typically have to first create the resource as 'typeless' which in this case would be DXGI_FORMAT_R8G8B8A8_TYPELESS: CD3D11_TEXTURE2D_DESC desc( DXGI_FORMAT_R8G8B8A8_TYPELESS, width, height, 1, // The render target view has only one texture. 1, // Use a single mipmap level....

Top 50 recent answers are included