A virtual class to be inhereted by program for stroke, polygon and other entities.
More...
#include <ProgramEntity2D.h>
|
virtual void | initialize (osg::StateSet *state, osg::Camera *camera, osg::MatrixTransform *t) |
|
void | updateTransform (osg::MatrixTransform *t) |
|
osg::MatrixTransform * | getTransform () const |
|
osg::Camera * | getCamera () const |
|
|
virtual bool | addPresetShaders ()=0 |
|
virtual bool | addPresetUniforms ()=0 |
|
template<typename T > |
bool | addUniform (const std::string &name, osg::Uniform::Type type, T *updateCallback=0) |
|
bool | addUniformCanvasMatrix () |
|
template<typename T > |
bool | addUniform (const std::string &name, osg::Uniform::Type type, T value) |
|
|
osg::observer_ptr< osg::StateSet > | m_state |
|
osg::observer_ptr< osg::Camera > | m_camera |
|
osg::observer_ptr< osg::MatrixTransform > | m_transform |
|
A virtual class to be inhereted by program for stroke, polygon and other entities.
The documentation for this class was generated from the following files: