2#ifndef GRAMODS_GRAPHICS_RASTERPROCESSOR
3#define GRAMODS_GRAPHICS_RASTERPROCESSOR
5#include <gmGraphics/config.hh>
13BEGIN_NAMESPACE_GMGRAPHICS;
19class RasterProcessor {
24 virtual ~RasterProcessor();
58 std::unique_ptr<Impl> _impl;
62END_NAMESPACE_GMGRAPHICS;
void setFragmentCode(std::string code)
Set the fragment shader code to run in the raster processor.
Definition RasterProcessor.cpp:56
bool init()
Initialize the raster processor.
Definition RasterProcessor.cpp:62
GLuint getProgramId()
Returns the program id.
Definition RasterProcessor.cpp:70
void run()
Execute the raster processor on the current render target.
Definition RasterProcessor.cpp:66
void setVertexCode(std::string code)
Set the vertex shader code to run in the raster processor.
Definition RasterProcessor.cpp:50
Definition RasterProcessor.cpp:9