glLoadGen / docs / Style_No_Load_CPP.xml

<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="" type="xml"?>
<?oxygen SCHSchema=""?>
<article xmlns="" xmlns:xi=""
    xmlns:xlink="" version="5.0">
    <title>Style No Load</title>
    <para>The <literal>noload_cpp</literal> style works a lot like the near-defunct GLee loader. You
        don't need to call a function to load all of the function pointers; instead, you simply call
        the GL functions as normal. If it hasn't been loaded, it will be. This makes it among the
        most user-friendly of the loader styles.</para>
    <para>As a C++ style, it follows the naming conventions of the <link><literal
                xlink:href="Style_Pointer_CPP">pointer_cpp</literal></link> style. Everything is
        scoped into namespaces. The enumerators don't have the <literal>GL_</literal> prefix on
        them, and so forth.</para>
    <para>The main difference is this. <literal>noload_cpp</literal> does have a system function
        called <literal>sys::CheckExtensions</literal>. This function walks through the list of
        advertised extensions and sets up the extension variables. It does not load anything, so
        there is no way to tell if all of the function pointers that are advertised are actually
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.