Open source remastering of the Freespace 2 engine
gropenglbmpman.h File Reference
#include "bmpman/bmpman.h"
#include "globalincs/pstypes.h"

Go to the source code of this file.


void gr_opengl_bm_free_data (int n, bool release)
void gr_opengl_bm_create (int n)
void gr_opengl_bm_init (int n)
void gr_opengl_bm_page_in_start ()
bool gr_opengl_bm_data (int n, bitmap *bm)
void gr_opengl_bm_save_render_target (int slot)
int gr_opengl_bm_make_render_target (int n, int *width, int *height, ubyte *bpp, int *mm_lvl, int flags)
int gr_opengl_bm_set_render_target (int n, int face)

Function Documentation

void gr_opengl_bm_create ( int  n)

API specifics for creating a user bitmap

Definition at line 76 of file gropenglbmpman.cpp.

bool gr_opengl_bm_data ( int  n,
bitmap bm 

Definition at line 175 of file gropenglbmpman.cpp.

void gr_opengl_bm_free_data ( int  n,
bool  release 

Anything API specific to freeing bm data

Definition at line 59 of file gropenglbmpman.cpp.

void gr_opengl_bm_init ( int  n)

API specific init instructions

Definition at line 84 of file gropenglbmpman.cpp.

int gr_opengl_bm_make_render_target ( int  n,
int width,
int height,
ubyte bpp,
int mm_lvl,
int  flags 

Definition at line 124 of file gropenglbmpman.cpp.

void gr_opengl_bm_page_in_start ( )

Specific instructions for setting up the start of a page-in session

Definition at line 92 of file gropenglbmpman.cpp.

void gr_opengl_bm_save_render_target ( int  slot)

Definition at line 101 of file gropenglbmpman.cpp.

int gr_opengl_bm_set_render_target ( int  n,
int  face 

Definition at line 153 of file gropenglbmpman.cpp.