Version | 0.2.0 |
---|
Stub graphics backend.
The stub backend functions do nothing and always return success. These do not make for a usable backend on their own since the platform implementation would fail to create a window, but are useful for other backends to reuse since not all need non-trivial implementations of every backend function.
Functions | |
const PuglBackend * | puglStubBackend (void) |
static PuglStatus | puglStubConfigure (PuglView *view) |
static PuglStatus | puglStubCreate (PuglView *view) |
static PuglStatus | puglStubDestroy (PuglView *view) |
static PuglStatus | puglStubEnter (PuglView *view, const PuglEventExpose *expose) |
static PuglStatus | puglStubLeave (PuglView *view, const PuglEventExpose *expose) |
static PuglStatus | puglStubResize (PuglView *view, int width, int height) |
static void * | puglStubGetContext (PuglView *view) |
const PuglBackend* puglStubBackend | ( | void | ) |
Stub graphics backend.
This backend just creates a simple native window without setting up any portable graphics API.
|
inlinestatic |
References PUGL_SUCCESS.
|
inlinestatic |
References PUGL_SUCCESS.
|
inlinestatic |
References PUGL_SUCCESS.
|
inlinestatic |
References PUGL_SUCCESS.
|
inlinestatic |
References PUGL_SUCCESS.
|
inlinestatic |
References PUGL_SUCCESS.
|
inlinestatic |