![]() |
Workspace 6.21.5
|
OpenGL implementation of the WSGLTextureProjectionShader.
#include <Rendering/OpenGL/Shaders/wsgltextureprojectionshaderimplementation.h>
Public Member Functions | |
WSGLTextureProjectionShaderImplementation (TextureProjectionShader &shader) | |
~WSGLTextureProjectionShaderImplementation () override | |
bool | activate (SceneRenderer &renderer) override |
Activates the shader on the target renderer. Subclasses must override this function with an implementation to contains the renderer-specific activation code they need. | |
bool | deactivate (SceneRenderer &renderer) override |
Dectivates the shader on the target renderer. Subclasses must override this function with an implementation to contains the renderer-specific activation code they need. | |
bool | renderCurrentModel (SceneRenderer &renderer) override |
Using the target renderer, render the current model. | |
bool | renderCurrentModelGlyphs (SceneRenderer &renderer) override |
Using the target renderer, render the current model's glyphs. | |
![]() | |
TypedShaderImplementation (TextureProjectionShader &shader) | |
virtual | ~TypedShaderImplementation ()=default |
const ShaderImplementationFactory & | getFactory () const override |
virtual const SceneRendererTypeId & | getSceneRendererType () const |
![]() | |
virtual | ~ShaderImplementation ()=default |
virtual bool | activate (SceneRenderer &renderer)=0 |
Activates the shader on the target renderer. Subclasses must override this function with an implementation to contains the renderer-specific activation code they need. | |
virtual bool | deactivate (SceneRenderer &renderer)=0 |
Dectivates the shader on the target renderer. Subclasses must override this function with an implementation to contains the renderer-specific activation code they need. | |
virtual const ShaderImplementationFactory & | getFactory () const =0 |
virtual bool | renderCurrentModel (SceneRenderer &renderer)=0 |
Using the target renderer, render the current model. | |
virtual bool | renderCurrentModelGlyphs (SceneRenderer &renderer)=0 |
Using the target renderer, render the current model's glyphs. | |
|
override |
|
overridevirtual |
This function should be called prior to rendering the model with a shader.
Implements ShaderImplementation.
|
overridevirtual |
Implements ShaderImplementation.
|
overridevirtual |
Implements ShaderImplementation.
|
overridevirtual |
Implements ShaderImplementation.