62 virtual GLuint binding(
const std::string& name)
const;
65 virtual GLuint binding(
const std::string& name,
int index)
const;
70 virtual void bindBlocks(
GLuint programId)
const;
73 virtual std::string name(
const std::string& name)
const;
76 virtual std::string name(
const std::string& name,
int index)
const;
79 static const int theLightBlockBase = 6;
80 static const int theLightBlockCount = 5;
94 virtual std::string indexedName(
const std::string& name,
int index)
const;
97 virtual void initializeBlockBindings();
100 virtual void setBinding(
const std::string& name,
DtBufferType bufferType,
104 virtual void setBinding(
const std::string& name,
DtBufferType bufferType,
105 int index,
GLuint binding);
112 typedef std::map<std::string, std::pair<DtBufferType, GLuint> >
BindingMap;
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
static const char * vrvTileLightIndexList
Definition: DtBindingManager.h:90
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtBufferType
An abstract buffer type (vertex buffer, index buffer, etc) Used, for example, to create DtGlBuffers o...
Definition: DtBufferType.h:15
int GLint
Definition: DtBindingManager.h:24
std::map< std::string, std::pair< DtBufferType, GLuint > > BindingMap
Map of binding names to bindings.
Definition: DtBindingManager.h:112
unsigned int GLuint
Definition: DtGlTextureBufferObject.h:17
Manage interface block bindings. This knowledge was previously distributed several places in the code...
Definition: DtBindingManager.h:43
Contains makVrv::DtVirtualBaseClass class.
BindingMap bindingMap
Definition: DtBindingManager.h:113
static const char * vrvPerChannelUniformBlock
Definition: DtBindingManager.h:88
unsigned int GLenum
Definition: DtGlTextureBufferObject.h:18
static const char * osgTransformStackBlock
Definition: DtBindingManager.h:87
Contains DLL export macros.
static const char * osgMaterialUniformBlock
Definition: DtBindingManager.h:85
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:70
static const char * osgAlphaThresholdBlock
Definition: DtBindingManager.h:86
static const char * vrvLightDataBlock
Definition: DtBindingManager.h:89