Code: Select all
https://bitbucket.org/sinbad/ogre/src/04103374957963510ce4b4c8fb3a801d8029dba6/OgreMain/include/OgreGpuProgramParams.h?at=v1-9
/// Get a pointer to the 'nth' item in the double buffer
double* geDoublePointer(size_t pos) { _markDirty(); return &mDoubleConstants[pos]; }