|
SBgl 0.1.0
A graphics framework in C99
|
Engine context. More...
#include <sbgl_types.h>
Data Fields | |
| void * | inner |
| Opaque pointer to the internal engine state. | |
| sbgl_Result | result |
| Status of the last major operation. | |
Engine context.
The context serves as the handle for all SBgl operations. It utilizes an opaque pointer pattern to encapsulate internal engine state, ensuring that OS-specific handles and internal memory management are hidden from the public API.
Definition at line 268 of file sbgl_types.h.
| void* sbgl_Context::inner |
Opaque pointer to the internal engine state.
Points to the private sbgl_InternalContext structure, which manages internal subsystems including the persistent SblArena for context-local allocations, the platform-specific sbgl_Window handle, graphics state such as clear colors and frame acquisition flags, and the real-time physical state of keys and mouse buttons.
Definition at line 278 of file sbgl_types.h.
| sbgl_Result sbgl_Context::result |
Status of the last major operation.
Stores the result or error code from the most recent critical API call (for instance, initialization or frame acquisition).
Definition at line 286 of file sbgl_types.h.