14 #include <osg/StateAttribute>
16 #include <unordered_map>
27 class DtLightingComponentStateAttribute;
28 class DtOsgLightingComponent;
30 class DtGlDeleteObjectManager;
42 osg::CopyOp::SHALLOW_COPY);
53 virtual void apply(osg::State& state)
const;
56 virtual void releaseGLObjects(osg::State* state)
const;
60 virtual int compare(
const StateAttribute& sa)
const;
63 virtual osg::Object* cloneType()
const override;
64 virtual osg::Object* clone(
const osg::CopyOp& copyop)
const override;
65 virtual bool isSameKindAs(
const osg::Object* obj)
const override;
66 virtual const char* libraryName()
const override;
67 virtual const char* className()
const override;
68 virtual Type getType()
const override;
70 const osg::StateAttribute::Type
myType;
75 bool myEnabled =
true;
const osg::StateAttribute::Type myType
Definition: DtLightingComponentStateAttribute.h:70
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtDe & myDe
Definition: DtLightingComponentStateAttribute.h:71
Manage buffer object binding state, via glBindBufferBase.
Definition: DtLightingComponentStateAttribute.h:34
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtOsgLightingComponent & myParent
Definition: DtLightingComponentStateAttribute.h:73
State component that injects lighting shaders and uniforms into a state set. It also has a DtLightCom...
Definition: DtOsgLightingComponent.h:57