Function BlamRendering::DirectX::WIC::CreateWICBitmapFromFile

Function Documentation

HRESULT BlamRendering::DirectX::WIC::CreateWICBitmapFromFile(std::wstring path, IWICBitmap **bitmap_pointer)

Creates a WIC bitmap from a file.

Return

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

Parameters
  • path: - The path to the file to read.

  • bitmap_pointer: - Pointer to the bitmap to load the file into.