opensurgsim
Classes | Namespaces | Functions
OsgUniformBaseTests.cpp File Reference

Tests for the OsgUniformBase class. More...

#include "SurgSim/Graphics/OsgUniformBase.h"
#include <gtest/gtest.h>

Classes

class  SurgSim::Graphics::MockOsgUniformBase
 OsgUniformBase class for testing. More...
 

Namespaces

 SurgSim
 Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui needs glew but we need to call glewInit() from a osg callback, using this call we avoid getting warnings about redefinitions.
 

Functions

 SurgSim::Graphics::TEST (OsgUniformBaseTests, InitTest)
 
 SurgSim::Graphics::TEST (OsgUniformBaseTests, StateSetTest)
 

Detailed Description

Tests for the OsgUniformBase class.

Function Documentation

§ TEST()

SurgSim::Graphics::TEST ( OsgUniformBaseTests  ,
StateSetTest   
)

Add the uniform to the state set

Remove the uniform from the state set