12 #ifndef VOLUMERENDERINGSTAGE_H_6014714286 13 #define VOLUMERENDERINGSTAGE_H_6014714286 17 #include <Carna/Carna.h> 320 const std::unique_ptr< Details > pimpl;
322 struct VideoResources;
323 std::unique_ptr< VideoResources > vr;
330 const static unsigned int DEFAULT_SAMPLE_RATE = 200;
347 void setSampleRate(
unsigned int sampleRate );
353 unsigned int sampleRate()
const;
358 virtual void renderPass
373 virtual unsigned int loadVideoResources();
381 virtual void createVolumeSamplers(
const std::function<
void(
unsigned int,
base::Sampler* ) >& registerSampler ) = 0;
393 virtual const std::string& uniformName(
unsigned int role )
const = 0;
398 virtual void configureShader() = 0;
413 #endif // VOLUMERENDERINGSTAGE_H_6014714286 Defines Carna::base::Renderable.
Defines Carna::base::GeometryStage.
Partially implements a rendering stage that uses at least one render queue for rendering geometry fro...
Maintains an OpenGL shader program. Realizes the RAII-idiom.
Invokes the rendering stages of the frame renderer successively.
Maintains an OpenGL texture sampler object. This class realizes the RAII-idiom.
Defines abstract base class for rendering stages that render volume geometries in the scene...
Eigen::Matrix< float, 4, 4, Eigen::ColMajor > Matrix4f
Defines matrix.
Defines a rendering viewport. The viewport is a property of the current OpenGL context.
Represents a Geometry object that has been queued into a RenderQueue. The object's model-view transfo...