15 #include <ShaderPipeline/ShaderPipeline.h>
16 #include <ShaderPipeline/ShaderPipelineFunction.h>
17 #include <ShaderPipeline/ShaderPipelineContext.h>
18 #include <ShaderPipeline/ShaderPipelineTargetContext.h>
28 #define SO_DECLARE_PIPELINE_FUNCTION_CLASS(className,baseClassName) \
29 class SOVIEW2D_API className: public baseClassName \
32 className (): baseClassName() {}; \
34 using baseClassName::appendFunctionBody; \
35 virtual void appendFunctionBody(std::stringstream& str, ShaderPipelineTargetContext& context) const; \
36 virtual void updateContext(ShaderPipelineContext& context) const; \
#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
SoView2DOverlayShaderFunction()
void appendName(std::stringstream &str) const override
void setOverlay(const SoView2DShaderOverlayInfo *overlay)
const SoView2DShaderOverlayInfo * _overlay
void setState(const SoView2DShaderState *state)
const SoView2DShaderState * _state
Stores information for each overlay to render.
Stores the state that defines the shader of the shader pipeline, used to detect if a regeneration of ...
SO_DECLARE_PIPELINE_FUNCTION_CLASS(SetupState, SoView2DShaderFunction)