OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
State.h File Reference
#include <osg/Export>
#include <osg/GLExtensions>
#include <osg/StateSet>
#include <osg/Matrix>
#include <osg/Uniform>
#include <osg/BufferObject>
#include <osg/Observer>
#include <osg/Timer>
#include <osg/ShaderComposer>
#include <osg/FrameStamp>
#include <osg/DisplaySettings>
#include <osg/Polytope>
#include <osg/Viewport>
#include <osg/GLBeginEndAdapter>
#include <osg/ArrayDispatchers>
#include <osg/GraphicsCostEstimator>
#include <iosfwd>
#include <vector>
#include <map>
#include <set>
#include <string>
Include dependency graph for State.h:

Go to the source code of this file.

Classes

class  osg::VertexAttribAlias
 
class  osg::State
 
struct  osg::State::DynamicObjectRenderingCompletedCallback
 
struct  osg::State::ModeStack
 
struct  osg::State::AttributeStack
 
struct  osg::State::UniformStack
 
struct  osg::State::DefineStack
 
struct  osg::State::DefineMap
 
struct  osg::State::EnabledArrayPair
 

Namespaces

 osg
 

Macros

#define GL_FOG_COORDINATE_ARRAY   0x8457
 
#define GL_SECONDARY_COLOR_ARRAY   0x845E
 
#define OSG_GL_DEBUG(message)
 

Macro Definition Documentation

#define GL_FOG_COORDINATE_ARRAY   0x8457

Definition at line 45 of file State.h.

#define GL_SECONDARY_COLOR_ARRAY   0x845E

Definition at line 53 of file State.h.

#define OSG_GL_DEBUG (   message)
Value:
if (state.getFineGrainedErrorDetection()) \
{ \
GLenum errorNo = glGetError(); \
if (errorNo!=GL_NO_ERROR) \
{ \
osg::notify(WARN)<<"Warning: detected OpenGL error '"<<gluErrorString(errorNo)<<" "<<message<<endl; \
}\
}
OSG_EXPORT const GLubyte * gluErrorString(GLenum error)
OSG_EXPORT std::ostream & notify(const NotifySeverity severity)

macro for use with osg::StateAttribute::apply methods for detecting and reporting OpenGL error messages.

Definition at line 61 of file State.h.