FS2_Open
Open source remastering of the Freespace 2 engine
bitmap Struct Reference

#include <bmpman.h>

Public Attributes

short w
 Width, in number of pixels. More...
 
short h
 Height, in number of pixels. More...
 
short rowsize
 What you need to add to go to next row. More...
 
ubyte bpp
 Requested bitdepth of each pixel. ( 7, 8, 15, 16, 24, 32) More...
 
ubyte true_bpp
 The image's actual bitdepth. More...
 
ubyte flags
 Various texture type flags. More...
 
ptr_u data
 Pointer to data, or maybe offset into VRAM. More...
 
ubytepalette
 Pointer to this bitmap's palette (if it has one). More...
 

Detailed Description

Definition at line 101 of file bmpman.h.

Member Data Documentation

ubyte bitmap::bpp

Requested bitdepth of each pixel. ( 7, 8, 15, 16, 24, 32)

Definition at line 106 of file bmpman.h.

ptr_u bitmap::data

Pointer to data, or maybe offset into VRAM.

Definition at line 109 of file bmpman.h.

ubyte bitmap::flags

Various texture type flags.

See also
Macro constants used in/with bmpman.h

Definition at line 108 of file bmpman.h.

short bitmap::h

Height, in number of pixels.

Definition at line 104 of file bmpman.h.

ubyte* bitmap::palette

Pointer to this bitmap's palette (if it has one).

If BMP_NO_PALETTE_MAP flag is cleared, this palette just points to the screen palette. (gr_palette)

Definition at line 110 of file bmpman.h.

short bitmap::rowsize

What you need to add to go to next row.

Definition at line 105 of file bmpman.h.

ubyte bitmap::true_bpp

The image's actual bitdepth.

Definition at line 107 of file bmpman.h.

short bitmap::w

Width, in number of pixels.

Definition at line 103 of file bmpman.h.


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