OpenGL SDK: GLEW - The OpenGL Extension Wrangler Library
文章推薦指數: 80 %
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms ...
OpenGLSoftwareDevelopmentKit
Documentation,SampleCode,Libraries,andToolsforcreatingOpenGL-basedApplications
SDKHome
Documentation
Libraries
Tutorials
Tools
Forums
Registry
TheOpenGLExtensionWranglerLibrary
TheOpenGLExtensionWranglerLibrary(GLEW)isacross-platformopen-sourceC/C++extensionloadinglibrary.
GLEWprovidesefficientrun-timemechanismsfordeterminingwhichOpenGLextensionsaresupported
onthetargetplatform.
Download
VisittheGLEWwebsitefor
thesourcecodeandprecompiledbinaries.
Features
SupportforcoreOpenGL3.0andover399extensions
TestedonWindows,Linux,MacOSX,FreeBSD,Irix,andSolaris
AutomaticcodegenerationfromOpenGLextensionspecifications
Thread-safesupportformultiplerenderingcontexts
Utilitiesforextensionsupportverification
Compatibility
GLEWiswritteninANSIC.Youcaneitherincludethesourcefilesdirectly
intoyourprojectorcompilethemintoaseparatelibrary.
Usage
Tofindoutifaparticularextensionisavailableonyourplatform,
youcancheckforgloballydefinedvariablesoftheformGLEW_{extension_name}.
Forexample,tocheckiftheARB_vertex_programextensionisavailable,
youcandothefollowing:
#include
延伸文章資訊
- 1GLEW: The OpenGL Extension Wrangler Library
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension load...
- 2OpenGL Loading Library
GLEW (OpenGL Extension Wrangler)
- 3GLFW and GLEW - Missing .libs - Stack Overflow
I am completely new to opengl and c++ libraries in general. I don't know how to link the librarie...
- 4GLEW-2.2.0 - Linux From Scratch!
GLEW is the OpenGL Extension Wrangler Library. [Note]. Note. Development versions of BLFS may not...
- 5Glew - Wikipedia
OpenGL Extension Wrangler Library (GLEW), a cross-platform C/C++ library that helps in querying a...