![]() |
Blamite Game Engine - blam!
00423.10.27.24.0533.blamite
The core library for the Blamite Game Engine.
|
#include <bitmap.h>
Public Member Functions | |
TAG_ENUM (format, { BF_RGBA8_UNORM, BF_RGB8_UNORM, BF_UNUSED, }) | |
The fields below contain the raw bitmap data. More... | |
TAG_BLOCK (import_info, { int64_t source_filesize;data_reference source_filename;data_reference source_file_format;data_reference source_pixel_format;data_reference parsed_pixel_format;}) | |
Public Attributes | |
bitmap_filtering_mode | filtering_mode_min |
bitmap_filtering_mode | filtering_mode_mag |
bitmap_filtering_mode | filtering_mode_mip |
bitfield8 | flags |
data_reference | pixel_data |
The raw pixel data for the bitmap. More... | |
vector2 | size |
The resolution of the bitmap. More... | |
int16_t | bytes_per_line |
The amount of bytes needed for a single line/row of pixels for this bitmap. More... | |
bitmap::TAG_BLOCK | ( | import_info | , |
{ int64_t source_filesize;data_reference source_filename;data_reference source_file_format;data_reference source_pixel_format;data_reference parsed_pixel_format;} | |||
) |
bitmap::TAG_ENUM | ( | format | , |
{ BF_RGBA8_UNORM, BF_RGB8_UNORM, BF_UNUSED, } | |||
) |
The fields below contain the raw bitmap data.
It is updated when you reimport the bitmap.
Any changes you make below will be lost in the next import, and may even cause 'bad things' to happen - such as invalid textures or crashes.
If you wish to make any changes to a bitmap, you should simply re-import the image from its source. If the source image filehas been lost, consult the documentation for methods to export a bitmap tag back into a source image file. The pixel format of the bitmap data.
int16_t bitmap::bytes_per_line |
The amount of bytes needed for a single line/row of pixels for this bitmap.
bitmap_filtering_mode bitmap::filtering_mode_mag |
bitmap_filtering_mode bitmap::filtering_mode_min |
bitmap_filtering_mode bitmap::filtering_mode_mip |
bitfield8 bitmap::flags |
data_reference bitmap::pixel_data |
The raw pixel data for the bitmap.
vector2 bitmap::size |
The resolution of the bitmap.