bindGLFW_GLX

Undocumented in source.
  1. enum bindGLFW_GLX;
    version(BindGLFW_Dynamic)
    @nogc nothrow
    static if(!(bindWindows))
    static if(!(bindMac))
    static if(bindPosix && !bindAndroid)
    static if(glfwSupport >= GLFWSupport.glfw32)
    enum bindGLFW_GLX = q{ extern(C) @nogc nothrow { alias pglfwGetGLXContext = GLXContext function(GLFWwindow* window); alias pglfwGetGLXWindow = GLXWindow function(GLFWwindow* window); } __gshared { pglfwGetGLXContext glfwGetGLXContext; pglfwGetGLXWindow glfwGetGLXWindow; } @nogc nothrow bool loadGLFW_GLX() { import bindbc.loader.sharedlib : errorCount; if(!isGLFWLoaded) return false; auto errCount = errorCount(); bindGLFWSymbol(cast(void**)&glfwGetGLXContext, "glfwGetGLXContext"); bindGLFWSymbol(cast(void**)&glfwGetGLXWindow, "glfwGetGLXWindow"); return errorCount() == errCount; } };
  2. enum bindGLFW_GLX;

Meta