How to create 2D texture using DXGI format DXGI_FORMAT_R1_UNORM?

后端 未结 2 1579
青春惊慌失措
青春惊慌失措 2021-01-27 16:12

I want to create a 1 bit per pixel monochrome texture 2D in DirectX 11 using dxgi format DXGI_FORMAT_R1_UNORM I have done trying the following but it\'s showing following errors

2条回答
  •  渐次进展
    2021-01-27 17:01

    DXGI_FORMAT_R1_UNORM is not supported by any Direct3D device. It only exists for some old Direct3D 10.0-era Windows 10 GDI font interop, and is basically unused since Direct3D 10.1.

提交回复
热议问题