NAME

X11::GLX::Context - Opaque wrapper for GLXContext pointer

VERSION

version 0.06

DESCRIPTION

GLXContext is an opaque object used by the GLX API to reference the collection of state used for OpenGL rendering, usually by one thread onto one X11 window.

See X11::GLX::DWIM for a convenient object-oriented interface to GLX that performs the things you probably want it to do.

ATTRIBUTES

display

X11 connection this Context was created from. Note that this object holds a strong reference to the Display.

autofree

Whether to automatically call glXDestroyContext when this object goes out of scope.

imported

Read-only. Always False in base class. Overridden in subclass ::Imported to be True.

id

The X11 ID of the GLX context. This is not available unless you have the GLX_EXT_import_context extension.

AUTHOR

Michael Conrad <mike@nrdvana.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 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.