Function BlamRendering::DirectX::WIC::ConvertWICBitmapToD2D(IWICBitmap *, ID2D1Bitmap **)

Function Documentation

HRESULT BlamRendering::DirectX::WIC::ConvertWICBitmapToD2D(IWICBitmap *wic_bitmap, ID2D1Bitmap **d2d_bitmap)

Converts a WIC bitmap to a D2D bitmap.

Return

S_OK if the bitmap was converted successfully, otherwise will return an error code.

Parameters
  • wic_bitmap: - The WIC bitmap to convert.

  • d2d_pointer: - Pointer to the D2D bitmap to load the converted bitmap into.