Function BlamRendering::DirectX::WIC::CreateWICBitmapFromMemory¶
Defined in File rendering.h
Function Documentation¶
-
HRESULT
BlamRendering::DirectX::WIC
::
CreateWICBitmapFromMemory
(void *data, int size, IWICBitmap **bitmap_pointer)¶ Creates a WIC bitmap from a block of memory.
- Return
S_OK
if the bitmap was created successfully, otherwise will return an error code.- Parameters
data
: - The address pointing to the start of the data.size
: - The length of the data.bitmap_pointer
: - Pointer to the bitmap to load the data into.