7117ff4bd3
via: enum CheckForGLErrors { /** NEVER_CHECK_GL_ERRORS hints that OpenGL need not be checked for, this is the fastest option since checking for errors does incurr a small overhead.*/ NEVER_CHECK_GL_ERRORS, /** ONCE_PER_FRAME means that OpenGl errors will be checked for once per frame, the overhead is still small, but at least OpenGL errors that are occurring will be caught, the reporting isn't fine grained enough for debugging purposes.*/ ONCE_PER_FRAME, /** ONCE_PER_ATTRIBUTE means that OpenGL errors will be checked for after every attribute is applied, allow errors to be directly associated with particular operations which makes debugging much easier.*/ ONCE_PER_ATTRIBUTE }; /** Set whether and how often OpenGL errors should be checked for.*/ void setCheckForGLErrors(CheckForGLErrors check) { _checkGLErrors = check; } /** Get whether and how often OpenGL errors should be checked for.*/ CheckForGLErrors getCheckForGLErrors() const { return _checkGLErrors; } |
||
---|---|---|
applications | ||
bin | ||
dist | ||
doc/Doxyfiles | ||
examples | ||
include | ||
lib | ||
Make | ||
src | ||
VisualStudio | ||
AUTHORS.txt | ||
ChangeLog | ||
GNUmakefile | ||
INSTALL.txt | ||
LICENSE.txt | ||
NEWS.txt | ||
README.txt | ||
runexamples.bat |
Welcome to the OpenSceneGraph (OSG). For up to date information on the project, how to compile and run libraries and examples, and see the documentation on the OpenSceneGraph website. http://www.openscenegraph.org Robert Osfield. robert@openscenegraph.com November 2004.