Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

State File Reference

#include <osg/Export>
#include <osg/StateSet>
#include <osg/Matrix>
#include <osg/FrameStamp>
#include <osg/DisplaySettings>
#include <osg/Polytope>
#include <vector>
#include <map>

Include dependency graph for State:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Namespaces

namespace  osg

Defines

#define OSG_STATE   1
#define GL_TEXTURE0   0x84C0
#define GL_FOG_COORDINATE_ARRAY   0x8457
#define GL_SECONDARY_COLOR_ARRAY   0x845E
#define OSG_GL_DEBUG(message)
 macro for use with osg::StateAttrbiute::apply methods for detected and reporting OpenGL error messages.


Define Documentation

#define GL_FOG_COORDINATE_ARRAY   0x8457
 

#define GL_SECONDARY_COLOR_ARRAY   0x845E
 

#define GL_TEXTURE0   0x84C0
 

#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::StateAttrbiute::apply methods for detected and reporting OpenGL error messages.

#define OSG_STATE   1
 


Generated at Wed Sep 18 13:54:56 2002 for the Open Scene Graph by doxygen 1.2.16.