wx_BGI_Graphics
Classic BGI-compatible graphics API with modern OpenGL extension API
Loading...
Searching...
No Matches
Data Fields
bgi::PendingGlFrame Struct Reference

Per-camera GL frame queued by wxbgi_render_dds() in wxEmbedded mode. More...

#include <bgi_types.h>

Collaboration diagram for bgi::PendingGlFrame:
Collaboration graph
[legend]

Data Fields

int camVpH {0}
 
int camVpW {0}
 
int camVpX {0}
 Camera screen viewport in BGI pixel coords (Y=0 at top). All-zero = full window.
 
int camVpY {0}
 
float eyeX {0}
 
float eyeY {0}
 
float eyeZ {0}
 
PendingGlRender geometry
 
LightState light
 
float viewProj [16] {}
 column-major 4×4 view-projection matrix
 

Detailed Description

Per-camera GL frame queued by wxbgi_render_dds() in wxEmbedded mode.

Stores the pre-built geometry and camera matrices for one render_dds call so multi-panel wx rendering can replay all cameras during Render().

Field Documentation

◆ camVpH

int bgi::PendingGlFrame::camVpH {0}

◆ camVpW

int bgi::PendingGlFrame::camVpW {0}

◆ camVpX

int bgi::PendingGlFrame::camVpX {0}

Camera screen viewport in BGI pixel coords (Y=0 at top). All-zero = full window.

◆ camVpY

int bgi::PendingGlFrame::camVpY {0}

◆ eyeX

float bgi::PendingGlFrame::eyeX {0}

◆ eyeY

float bgi::PendingGlFrame::eyeY {0}

◆ eyeZ

float bgi::PendingGlFrame::eyeZ {0}

◆ geometry

PendingGlRender bgi::PendingGlFrame::geometry

◆ light

LightState bgi::PendingGlFrame::light

◆ viewProj

float bgi::PendingGlFrame::viewProj[16] {}

column-major 4×4 view-projection matrix


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