OpenSceneGraph  3.5.1
Classes | Namespaces | Macros
State 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>

Classes

class  osg::VertexAttribAlias
 
class  osg::State
 Encapsulates the current applied OpenGL modes, attributes and vertex arrays settings, implements lazy state updating and provides accessors for querying the current state. More...
 
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
 The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes.
 

Macros

#define OSG_STATE   1
 
#define GL_FOG_COORDINATE_ARRAY   0x8457
 
#define GL_SECONDARY_COLOR_ARRAY   0x845E
 
#define OSG_GL_DEBUG(message)
 macro for use with osg::StateAttribute::apply methods for detecting and reporting OpenGL error messages. More...
 

Macro Definition Documentation

#define GL_FOG_COORDINATE_ARRAY   0x8457
#define GL_SECONDARY_COLOR_ARRAY   0x845E
#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; \
}\
}

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

#define OSG_STATE   1

osg logo
Generated at Wed Nov 11 2015 22:14:23 for the OpenSceneGraph by doxygen 1.8.10.