Elaztek Developer Hub
Blamite Game Engine - blam!  00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
bitmap Struct Reference

#include <bitmap.h>

+ Collaboration diagram for bitmap:

Classes

struct  bitfield8_flags
 

Public Member Functions

 TAG_ENUM (format, { BF_RGBA8_UNORM, BF_RGB8_UNORM, BF_UNUSED, })
 The pixel format of the 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 flags
 Bitfield data for flags. See #bitfield8_flags for details. More...
 
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...
 

Member Function Documentation

◆ TAG_BLOCK()

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;}   
)

◆ TAG_ENUM()

bitmap::TAG_ENUM ( format  ,
{ BF_RGBA8_UNORM, BF_RGB8_UNORM, BF_UNUSED, }   
)

The pixel format of the bitmap data.

Member Data Documentation

◆ bytes_per_line

int16_t bitmap::bytes_per_line

The amount of bytes needed for a single line/row of pixels for this bitmap.

◆ filtering_mode_mag

bitmap_filtering_mode bitmap::filtering_mode_mag

◆ filtering_mode_min

bitmap_filtering_mode bitmap::filtering_mode_min

◆ filtering_mode_mip

bitmap_filtering_mode bitmap::filtering_mode_mip

◆ flags

bitfield8_flags bitmap::flags

Bitfield data for flags. See #bitfield8_flags for details.

◆ pixel_data

data_reference bitmap::pixel_data

The raw pixel data for the bitmap.

◆ size

vector2 bitmap::size

The resolution of the bitmap.


The documentation for this struct was generated from the following file: