wx_BGI_Graphics
Classic BGI-compatible graphics API with modern OpenGL extension API
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
bgi_state.h File Reference
#include "bgi_types.h"
#include <mutex>
Include dependency graph for bgi_state.h:

Go to the source code of this file.

Namespaces

namespace  bgi
 

Functions

std::vector< std::uint8_t > & bgi::activePageBuffer ()
 
void bgi::initForWxCanvas (int width, int height)
 
void bgi::resetDrawingState ()
 
void bgi::resetPaletteState ()
 
void bgi::resetStateForWindow (int width, int height, bool doubleBuffered)
 
void bgi::resizePixelBuffer (int width, int height)
 Resize only — preserves DDS scenes, cameras, UCS.
 
void bgi::syncPagesIfNeeded ()
 
const std::vector< std::uint8_t > & bgi::visualPageBuffer ()
 

Variables

std::mutex bgi::gMutex
 
BgiState bgi::gState