DESCRIPTION

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 ↑
noAutoCapture | Disable 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)). |
debug | Capture GL_DEBUG_OUTPUT errors. |
stereo | Request a stereoscopic visual. |
out | Dump 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. |
outFirst | Override first frame number (default = 0). |
outLast | Terminate application after # frames have been rendered. |
jpegQual | If exporting to JPEG, set quality factor (100% = best). |
jpegDCT | If 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 ↑
AG_DriverSDL2FB(3), AG_DriverSDL2GL(3), AG_DriverSDLFB(3), AG_DriverSDLGL(3), AG_Driver(3), AG_DriverMw(3), AG_GL(3), AG_InitGraphics(3), AG_Intro(3)
HISTORY ↑
The
sdl2mw driver first appeared in
Agar 1.7.0.