Agar

Agar 1.7 Manual

(Printable Version)
AG_DriverSDL2MW(3)

DESCRIPTION

The Agar sdl2mw driver provides an interface to the Simple DirectMedia Layer (SDL) library version 2, and renders GUI elements as OpenGL primitives and managed textures in separate windows.

INHERITANCE HIERARCHY

AG_Driver(3)-> AG_DriverMw(3)-> AG_DriverSDL2MW.

EXAMPLES

AG_InitGraphics("sdl2mw");
AG_InitGraphics("sdl2mw(stereo)");
AG_InitGraphics("sdl2mw(out=%08d.jpg)");

OPTIONS

noAutoCaptureDisable mouse auto-capture behavior (see SDL_HINT_MOUSE_AUTO_CAPTURE). Enabled by default. May be set by widget code with the setMouseAutoCapture() driver operation (see AG_Driver(3)).
debugCapture GL_DEBUG_OUTPUT errors.
stereoRequest a stereoscopic visual.
outDump video frames to JPEG or PNG image files. The filename path may include a printf-style (with frame number as argument). For example, %08d.jpg will output frames to 00000001.jpg, 00000002.jpg, etc.
outFirstOverride first frame number (default = 0).
outLastTerminate application after # frames have been rendered.
jpegQualIf exporting to JPEG, set quality factor (100% = best).
jpegDCTIf exporting to JPEG, specify DCT method ("islow" for slow but accurate integer method, "ifast" for fast but less accurate integer method, or "float" for floating point method).

SEE ALSO


HISTORY

The sdl2mw driver first appeared in Agar 1.7.0.
Csoft.net ElectronTubeStore