class osgGL2::ShaderObject::PerContextShaderObj

PCSO is an OSG-internal encapsulation of glShaderObjects per-GL context.

Inheritance:


Public Methods

[more] PerContextShaderObj(const ShaderObject* shadObj, unsigned int contextID)
[more] PerContextShaderObj(const PerContextShaderObj& rhs)
[more]GLhandleARB& getHandle()
[more]bool isDirty() const
[more]void markAsDirty()
[more]void build()
[more]void attach(GLhandleARB progObj) const
Attach our glShaderObject to a glProgramObject

Protected Fields

[more]const ShaderObject* _shadObj
Pointer to our parent ShaderObject
[more]osg::ref_ptr<Extensions> _extensions
Pointer to this context's extension functions.
[more]GLhandleARB _glShaderObjHandle
Handle to the actual glShaderObject.
[more]bool _dirty
Do we need to be recompiled?
[more]const unsigned int _contextID

Protected Methods

[more] PerContextShaderObj()
[more] ~PerContextShaderObj()


Documentation

PCSO is an OSG-internal encapsulation of glShaderObjects per-GL context.
o PerContextShaderObj(const ShaderObject* shadObj, unsigned int contextID)

o PerContextShaderObj(const PerContextShaderObj& rhs)

oGLhandleARB& getHandle()

obool isDirty() const

ovoid markAsDirty()

ovoid build()

ovoid attach(GLhandleARB progObj) const
Attach our glShaderObject to a glProgramObject

o PerContextShaderObj()

o ~PerContextShaderObj()

oconst ShaderObject* _shadObj
Pointer to our parent ShaderObject

oosg::ref_ptr<Extensions> _extensions
Pointer to this context's extension functions.

oGLhandleARB _glShaderObjHandle
Handle to the actual glShaderObject.

obool _dirty
Do we need to be recompiled?

oconst unsigned int _contextID


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.