|
superclass: object% |
constructor
(new gl-config%) → (is-a?/c gl-config%)
method
(send a-gl-config get-accum-size) → (integer-in 0 256)
method
(send a-gl-config get-depth-size) → (integer-in 0 256)
method
(send a-gl-config get-double-buffered) → boolean?
method
(send a-gl-config get-hires-mode) → boolean?
Added in version 1.5 of package draw-lib.
method
(send a-gl-config get-legacy?) → boolean?
Added in version 1.2 of package draw-lib.
method
(send a-gl-config get-multisample-size) → (integer-in 0 256)
method
(send a-gl-config get-share-context)
→ (or/c #f (is-a?/c gl-context<%>))
See also set-share-context.
method
(send a-gl-config get-stencil-size) → (integer-in 0 256)
method
(send a-gl-config get-stereo) → boolean?
method
(send a-gl-config set-accum-size on?) → void?
on? : (integer-in 0 256)
method
(send a-gl-config set-depth-size on?) → void?
on? : (integer-in 0 256)
method
(send a-gl-config set-double-buffered on?) → void?
on? : any/c
method
(send a-gl-config set-hires-mode hires-mode) → void?
hires-mode : any/c
Added in version 1.5 of package draw-lib.
method
(send a-gl-config set-legacy? legacy?) → void?
legacy? : any/c
Added in version 1.2 of package draw-lib.
method
(send a-gl-config set-multisample-size on?) → void?
on? : (integer-in 0 256)
method
(send a-gl-config set-share-context context) → void?
context : (or/c #f (is-a?/c gl-context<%>))
When a context B shares objects with context A, it is also shares objects with every other context sharing with A, and vice versa.
If an OpenGL implementation does not support sharing, context is effectively ignored when a new context is created. Sharing should be supported in all versions of Mac OS X. On Windows and Linux, sharing is provided by the presence of the WGL_ARB_create_context and GLX_ARB_create_context extensions, respectively (and OpenGL 3.2 requires both).
method
(send a-gl-config set-stencil-size on?) → void?
on? : (integer-in 0 256)
method
(send a-gl-config set-stereo on?) → void?
on? : any/c