Download lib/python3.9/site-packages/OpenGL/raw/WGL/ARB/create_context.py from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/OpenGL/raw/WGL/ARB/create_context.py
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/OpenGL/raw/WGL/ARB/create_context.py
-
curl -L -o create_context.py https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/OpenGL/raw/WGL/ARB/create_context.py
1.14 kB
| '''Autogenerated by xml_generate script, do not edit!''' | |
| from OpenGL import platform as _p, arrays | |
| # Code generation uses this | |
| from OpenGL.raw.WGL import _types as _cs | |
| # End users want this... | |
| from OpenGL.raw.WGL._types import * | |
| from OpenGL.raw.WGL import _errors | |
| from OpenGL.constant import Constant as _C | |
| import ctypes | |
| _EXTENSION_NAME = 'WGL_ARB_create_context' | |
| def _f( function ): | |
| return _p.createFunction( function,_p.PLATFORM.WGL,'WGL_ARB_create_context',error_checker=_errors._error_checker) | |
| ERROR_INVALID_VERSION_ARB=_C('ERROR_INVALID_VERSION_ARB',0x2095) | |
| WGL_CONTEXT_DEBUG_BIT_ARB=_C('WGL_CONTEXT_DEBUG_BIT_ARB',0x00000001) | |
| WGL_CONTEXT_FLAGS_ARB=_C('WGL_CONTEXT_FLAGS_ARB',0x2094) | |
| WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB=_C('WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB',0x00000002) | |
| WGL_CONTEXT_LAYER_PLANE_ARB=_C('WGL_CONTEXT_LAYER_PLANE_ARB',0x2093) | |
| WGL_CONTEXT_MAJOR_VERSION_ARB=_C('WGL_CONTEXT_MAJOR_VERSION_ARB',0x2091) | |
| WGL_CONTEXT_MINOR_VERSION_ARB=_C('WGL_CONTEXT_MINOR_VERSION_ARB',0x2092) | |
| def wglCreateContextAttribsARB(hDC,hShareContext,attribList):pass | |