Function BlamRendering::DirectX::WIC::ConvertWICBitmapTo32bppPBGRA

Function Documentation

HRESULT BlamRendering::DirectX::WIC::ConvertWICBitmapTo32bppPBGRA(IWICBitmap *source, IWICBitmap **destination)

Converts a WIC bitmap to a WIC bitmap, with the 32 bits-per-pixe, PBGRA format.

Return

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

Parameters
  • source: - The original bitmap.

  • destination: - Pointer to the WIC bitmap to load the converted bitmap into.