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

Structure representing a Bitmap tag. More...

#include <bitmap.h>

Public Member Functions

 TAG_ENUM (format, { BF_RGBA8_UNORM, BF_UNUSED })
 
 TAG_BLOCK (import_info, { int64_t source_filesize;ascii source_filename;ascii source_file_format;ascii source_pixel_format;ascii parsed_pixel_format;})
 

Public Attributes

bitmap_filtering_mode filter_mode_min
 
bitmap_filtering_mode filter_mode_mag
 
bitmap_filtering_mode filter_mode_mip
 
bitfield8 flags
 
data_reference pixel_data
 
vector2 size
 
int16_t bytes_per_line
 

Detailed Description

Structure representing a Bitmap tag.

Bitmap tags store - you guessed it - bitmaps! In this case, the term "bitmap" can refer to any sort of image file - not just literal .bmp images.

Todo:
Document all the other shit in this file

Member Function Documentation

◆ TAG_BLOCK()

bitmap::TAG_BLOCK ( import_info  ,
{ int64_t source_filesize;ascii source_filename;ascii source_file_format;ascii source_pixel_format;ascii parsed_pixel_format;}   
)

◆ TAG_ENUM()

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

Member Data Documentation

◆ bytes_per_line

int16_t bitmap::bytes_per_line

◆ filter_mode_mag

bitmap_filtering_mode bitmap::filter_mode_mag

◆ filter_mode_min

bitmap_filtering_mode bitmap::filter_mode_min

◆ filter_mode_mip

bitmap_filtering_mode bitmap::filter_mode_mip

◆ flags

bitfield8 bitmap::flags

◆ pixel_data

data_reference bitmap::pixel_data

◆ size

vector2 bitmap::size

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