Workspace 6.21.5
Public Member Functions | List of all members
WSGLTextureCoordShaderImplementation Class Reference

#include <Rendering/OpenGL/Shaders/wsgltexturecoordshaderimplementation.h>

Inheritance diagram for WSGLTextureCoordShaderImplementation:
[legend]

Public Member Functions

 WSGLTextureCoordShaderImplementation (TextureCoordShader &shader)
 
 ~WSGLTextureCoordShaderImplementation () 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.
 
- Public Member Functions inherited from TypedShaderImplementation< TextureCoordShader, WSGLRenderer, WSGLTextureCoordShaderImplementation >
 TypedShaderImplementation (TextureCoordShader &shader)
 
virtual ~TypedShaderImplementation ()=default
 
const ShaderImplementationFactorygetFactory () const override
 
virtual const SceneRendererTypeIdgetSceneRendererType () const
 
- Public Member Functions inherited from ShaderImplementation
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 ShaderImplementationFactorygetFactory () 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.
 

Additional Inherited Members

- Public Types inherited from TypedShaderImplementation< TextureCoordShader, WSGLRenderer, WSGLTextureCoordShaderImplementation >
using renderer_type = WSGLRenderer
 
typedef TextureCoordShader shader_type
 
- Static Public Member Functions inherited from TypedShaderImplementation< TextureCoordShader, WSGLRenderer, WSGLTextureCoordShaderImplementation >
static void registerImplementation ()
 
- Protected Member Functions inherited from TypedShaderImplementation< TextureCoordShader, WSGLRenderer, WSGLTextureCoordShaderImplementation >
TextureCoordShadergetShader ()
 
const TextureCoordShadergetShader () const
 
- Protected Member Functions inherited from ShaderImplementation
 ShaderImplementation ()=default
 
- Static Protected Member Functions inherited from TypedShaderImplementation< TextureCoordShader, WSGLRenderer, WSGLTextureCoordShaderImplementation >
static WSGLRenderergetTypedRenderer (SceneRenderer &renderer)
 

Constructor & Destructor Documentation

◆ WSGLTextureCoordShaderImplementation()

◆ ~WSGLTextureCoordShaderImplementation()

Member Function Documentation

◆ activate()

bool activate ( SceneRenderer renderer)
overridevirtual

This function should be called prior to rendering the model with a shader.

See also
Shader

Implements ShaderImplementation.

◆ deactivate()

bool deactivate ( SceneRenderer renderer)
overridevirtual
See also
Shader

Implements ShaderImplementation.

◆ renderCurrentModel()

bool renderCurrentModel ( SceneRenderer renderer)
overridevirtual

Implements ShaderImplementation.

◆ renderCurrentModelGlyphs()

bool renderCurrentModelGlyphs ( SceneRenderer renderer)
overridevirtual

Implements ShaderImplementation.