17#include <Inventor/elements/SoReplacedElement.h>
18#include <Inventor/SbColor.h>
45 SoView2DShaderBuiltInFunctions::SetupOverlay
_setup;
46 SoView2DShaderBuiltInFunctions::CheckInsideOverlay
_inside;
47 SoView2DShaderBuiltInFunctions::FetchOverlay
_fetch;
48 SoView2DShaderBuiltInFunctions::ClassifyOverlay
_classify;
49 SoView2DShaderBuiltInFunctions::CompositeOverlay
_composite;
View2DBlendMode
Blend mode.
#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
The helper class for the include which is added to the GVR.
static void addInclude(SoState *state, SoNode *node, SoView2DShaderCustomInclude *include)
Add a pipeline include.
std::vector< SoView2DShaderOverlayInfo * > _overlays
std::vector< SoView2DShaderOperation * > _operations
SbBool matches(const SoElement *elt) const override
static const std::vector< size_t > & getNodeIds(SoState *state)
Get list of node ids that added operations/includes (to be used for caching)
static const std::vector< SoView2DShaderOperation * > & getOperations(SoState *state)
Get list of SoView2DShaderOperations from current state.
SoElement * copyMatchInfo() const override
static void setDiagnosis(SoState *state, SoNode *node, SoView2DShaderDiagnosis *diagnosis)
Set diagnosis module.
std::vector< size_t > _nodeIds
static void addOperation(SoState *state, SoNode *node, SoView2DShaderOperation *operation)
Add a pipeline operation.
SoView2DShaderDiagnosis * _diagnosis
static SoView2DShaderDiagnosis * getDiagnosis(SoState *state)
Get diagnosis module.
static void clear(SoState *state, SoNode *node)
Clear all stored state.
static const std::vector< SoView2DShaderOverlayInfo * > & getOverlays(SoState *state)
Get list of overlays from current state.
static const SoView2DShaderElement * getInstance(SoState *state)
Returns the top (current) instance of the element in the state.
void init(SoState *state) override
static const std::vector< SoView2DShaderCustomInclude * > & getIncludes(SoState *state)
Get list of SoView2DShaderCustomInclude from current state.
static void addOverlay(SoState *state, SoNode *node, SoView2DShaderOverlayInfo *overlay)
Add an overlay.
void pop(SoState *state, const SoElement *prevTopElement) override
void push(SoState *aState) override
std::vector< SoView2DShaderCustomInclude * > _includes
Container class to specify a change operation for the shader pipeline shader.
Stores information for each overlay to render.
bool _renderedByOverlayShader
SoView2DShaderBuiltInFunctions::ClassifyOverlay _classify
SoView2DShaderOverlayInfo()
SoView2DShaderBuiltInFunctions::FetchOverlay _fetch
SoView2DShaderBuiltInFunctions::CompositeOverlay _composite
View2DBlendMode _blendMode
SoView2DShaderBuiltInFunctions::SetupOverlay _setup
SoView2DShaderBuiltInFunctions::CheckInsideOverlay _inside
A class to render images as OpenGL Textures.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.