Download lib/python3.9/site-packages/OpenGL/raw/WGL/ARB/pbuffer.py from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/OpenGL/raw/WGL/ARB/pbuffer.py
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/OpenGL/raw/WGL/ARB/pbuffer.py
-
curl -L -o pbuffer.py https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/OpenGL/raw/WGL/ARB/pbuffer.py
1.54 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_pbuffer' | |
| def _f( function ): | |
| return _p.createFunction( function,_p.PLATFORM.WGL,'WGL_ARB_pbuffer',error_checker=_errors._error_checker) | |
| WGL_DRAW_TO_PBUFFER_ARB=_C('WGL_DRAW_TO_PBUFFER_ARB',0x202D) | |
| WGL_MAX_PBUFFER_HEIGHT_ARB=_C('WGL_MAX_PBUFFER_HEIGHT_ARB',0x2030) | |
| WGL_MAX_PBUFFER_PIXELS_ARB=_C('WGL_MAX_PBUFFER_PIXELS_ARB',0x202E) | |
| WGL_MAX_PBUFFER_WIDTH_ARB=_C('WGL_MAX_PBUFFER_WIDTH_ARB',0x202F) | |
| WGL_PBUFFER_HEIGHT_ARB=_C('WGL_PBUFFER_HEIGHT_ARB',0x2035) | |
| WGL_PBUFFER_LARGEST_ARB=_C('WGL_PBUFFER_LARGEST_ARB',0x2033) | |
| WGL_PBUFFER_LOST_ARB=_C('WGL_PBUFFER_LOST_ARB',0x2036) | |
| WGL_PBUFFER_WIDTH_ARB=_C('WGL_PBUFFER_WIDTH_ARB',0x2034) | |
| def wglCreatePbufferARB(hDC,iPixelFormat,iWidth,iHeight,piAttribList):pass | |
| def wglDestroyPbufferARB(hPbuffer):pass | |
| def wglGetPbufferDCARB(hPbuffer):pass | |
| def wglQueryPbufferARB(hPbuffer,iAttribute,piValue):pass | |
| def wglReleasePbufferDCARB(hPbuffer,hDC):pass | |