Makes sure the bitmap content is accessible within an image processing task.
virtual void onRenderingStart()=0
Stores the rendering context: current program, current mapping in the scene space,...
ImageResolution outputResolution
void blend()
Initiates the rendering operation.
const float getOutputWidth() const
void bindMask(AbstractBitmap &mask)
void unlockBitmap(AbstractBitmap *bitmap)
const AffineMapping & getMapping() const
const bool isRenderingOnScreen() const
RenderingContext(GraphicPipeline &gpu, EventListener *eventListener, const ImageResolution &outputResolution, const float refWidth, const bool renderingOnScreen)
GL::Program & getProgram()
GraphicPipeline & getGpu()
const ImageResolution & getOutputResolution() const
EventListener * eventListener
void setMapping(const AffineMapping &mapping)
const bool renderingOnScreen
void enableProgram(GL::RenderingPrograms::Operation operation)
void lockBitmap(AbstractBitmap *bitmap)