 |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
44 BLAM HRESULT
IntegerBitmapScale(IWICBitmap* source,
int scale_factor, ID2D1Bitmap** destination, ID2D1RenderTarget* target);
BYTE * r
The Red value of the pixel.
Definition: render_utils.h:16
BLAM Pixel GetPixelData(BYTE *origin, int x, int y, int width, int height)
Retrieves a pixel from the specified memory address.
Definition: bitmap_utils.cpp:152
int width
Definition: bgfx.cpp:18
BYTE * b
The Blue value of the pixel.
Definition: render_utils.h:18
#define BLAM
Definition: render_utils.h:8
int height
Definition: bgfx.cpp:19
BLAM HRESULT GetWICBitmapPixelData(IWICBitmap **bitmap, UINT *width, UINT *height, IWICBitmapLock **bitmap_lock, UINT *buffer_size, BYTE **start_address)
Retrieves the pixel data from a WIC bitmap.
Definition: bitmap_utils.cpp:182
BYTE * a
The Alpha value of the pixel.
Definition: render_utils.h:19
BLAM HRESULT IntegerBitmapScale(IWICBitmap *source, int scale_factor, ID2D1Bitmap **destination, ID2D1RenderTarget *target)
Scales a bitmap using integer scaling.
Definition: bitmap_utils.cpp:10
BYTE * g
The Green value of the pixel.
Definition: render_utils.h:17
Namespace containing various utilities related to rendering.
Definition: render_utils.h:25
Structure representing a single pixel.
Definition: render_utils.h:14