This class can create the appropriate OsgUniform from an OpenGl glsl type, use the appropriate name from glsl in the create() function to recieve the correctly typed uniform.
More...
#include <SurgSim/Graphics/OsgUniformFactory.h>
|
| | OsgUniformFactory () |
| |
| virtual | ~OsgUniformFactory () |
| |
| bool | registerClass (const std::string &className) |
| | Register a class with the factory. More...
|
| |
| std::shared_ptr< UniformBase > | create (const std::string &className, const std::string &val) |
| | Create an instance of a class based on the specific class name, whose constructor takes 1 parameter. More...
|
| |
| bool | isRegistered (const std::string &className) const |
| | Check whether the class is registered in the factory. More...
|
| |
This class can create the appropriate OsgUniform from an OpenGl glsl type, use the appropriate name from glsl in the create() function to recieve the correctly typed uniform.
◆ OsgUniformFactory()
| SurgSim::Graphics::OsgUniformFactory::OsgUniformFactory |
( |
| ) |
|
◆ ~OsgUniformFactory()
| SurgSim::Graphics::OsgUniformFactory::~OsgUniformFactory |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: