How to quickly initialize a Direct2D bitmap to all black

后端 未结 0 754
情深已故
情深已故 2021-01-14 04:40

So ID2D1RenderTarget::CreateBitmap will create an uninitialized bitmap. How can I initialize this bitmap to all black? The pixel format of my bitmap is DX

相关标签:
回答
  • 消灭零回复
提交回复
热议问题