NAME
X11::GLX::FBConfig - Framebuffer config
VERSION
version 0.03
DESCRIPTION
This is a view of an opaque struct allocated by OpenGL which describes a framebuffer format. This is similar to an X11 Visual, but has more attributes specific to OpenGL.
ATTRIBUTES
display
Returns reference to the X11::Xlib instance this object was created from. (this object wraps a pointer whose scope seems to be the life of the X11 connection) Note that this FBConfig holds a strong reference to the connection, so the connection won't go out of scope as long as you hold onto this object.
visual_info
Returns an XVisualInfo for the FBConfig.
xid
Returns the X11 ID for this FBConfig.
buffer_size =head2 level =head2 doublebuffer =head2 stereo =head2 aux_buffers =head2 red_size =head2 green_size =head2 blue_size =head2 alpha_size =head2 depth_size =head2 stencil_size =head2 accum_red_size =head2 accum_green_size =head2 accum_blue_size =head2 accum_alpha_size =head2 render_type =head2 drawable_type =head2 x_renderable =head2 visual_id =head2 x_visual_type =head2 config_caveat =head2 transparent_type =head2 transparent_index_value =head2 transparent_red_value =head2 transparent_green_value =head2 transparent_blue_value =head2 transparent_alpha_value =head2 max_pbuffer_width =head2 max_pbuffer_height =head2 max_pbuffer_pixels
METHODS
get_attr
use X11::GLX ':constants';
my $val= $fbconfig->get_attr($GLX_CONSTANT);
Retrieve a GLX constant. Dies if $GLX_CONSTANT
is not a valid attriute (according to GLX return value). Also dies if this FBConfig doesn't have an associated display or if the display has been closed.
AUTHOR
Michael Conrad <mike@nrdvana.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Michael Conrad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.