Classes | Namespaces | Functions
OsgProgram.h File Reference
#include "SurgSim/Graphics/Program.h"
#include <osg/Program>
#include <osg/StateSet>
#include <string>
#include <memory>
#include <array>

Go to the source code of this file.

Classes

class  SurgSim::Graphics::OsgProgram
 OSG-based implementation of a graphics shader. More...
 

Namespaces

 SurgSim
 
 SurgSim::Framework
 
 SurgSim::Graphics
 

Functions

std::shared_ptr< OsgProgram > SurgSim::Graphics::loadProgram (const SurgSim::Framework::ApplicationData &data, const std::string &name)
 Utility function, load a program from a set of shader files. More...
 
std::shared_ptr< OsgProgram > SurgSim::Graphics::loadProgram (const SurgSim::Framework::ApplicationData &data, const std::string &vertexShaderName, const std::string &fragmentShaderName)
 Utility function, load a program from a set of shader files. More...