µGFX  2.9
version 2.9

Detailed Description

Widget that can be used to render OpenGL.

3D GWIN window based on OpenGL (or more exactly Tiny GL)

Precondition
GFX_USE_GWIN must be set to GFXON in your gfxconf.h
GWIN_NEED_GL3D must be set to GFXON in your gfxconf.h

Functions

GHandle gwinGGL3DCreate (GDisplay *g, GGL3DObject *gg, const GWindowInit *pInit)
 Create a gl3d window. More...
 

Function Documentation

◆ gwinGGL3DCreate()

GHandle gwinGGL3DCreate ( GDisplay *  g,
GGL3DObject *  gg,
const GWindowInit pInit 
)

Create a gl3d window.

Returns
NULL if there is no resultant drawing area, otherwise a window handle.
Parameters
[in]gThe GDisplay to display this window on
[in]ggThe GGL3DObject structure to initialise. If this is NULL the structure is dynamically allocated.
[in]pInitThe initialization parameters to use
Note
The drawing color and the background color get set to the current defaults. If you haven't called gwinSetDefaultColor() or gwinSetDefaultBgColor() then these are GFX_WHITE and GFX_BLACK respectively.
The font gets set to the current default font. If you haven't called gwinSetDefaultFont() then there is no default font and text drawing operations will no nothing.
The dimensions and position may be changed to fit on the real screen.
Function Class: Normal API, this function can be invoked by regular system threads.