OsgUniformTypes.h File Reference

Functions to get the OSG uniform type enum for a given type. More...

`#include <memory>`
`#include "SurgSim/Math/Matrix.h"`
`#include "SurgSim/Math/Vector.h"`
`#include <osg/Uniform>`

Go to the source code of this file.

## Namespaces

| SurgSim
| SurgSim::Graphics

## Functions

template<class T >
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType ()
| Returns the OSG uniform type enum value for the template parameter type. More...
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< float > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< double > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< int > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< unsigned int > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< bool > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Vector2f > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Vector3f > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Vector4f > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Vector2d > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Vector3d > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Vector4d > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Matrix22f > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Matrix33f > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Matrix44f > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Matrix22d > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Matrix33d > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< SurgSim::Math::Matrix44d > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< std::shared_ptr< OsgTexture1d > > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< std::shared_ptr< OsgTexture2d > > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< std::shared_ptr< OsgTexture3d > > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< std::shared_ptr< OsgTextureCubeMap > > ()
template<>
osg::Uniform::Type | SurgSim::Graphics::getOsgUniformType< std::shared_ptr< OsgTextureRectangle > > ()

## Detailed Description

Functions to get the OSG uniform type enum for a given type.