TDME2 1.9.121
Public Member Functions | List of all members
PostProcessingShaderImplementation Struct Referenceabstract

Post processing shader program implementation interface. More...

#include <tdme/engine/subsystems/postprocessing/PostProcessingShaderImplementation.h>

Inheritance diagram for PostProcessingShaderImplementation:
Inheritance graph
Collaboration diagram for PostProcessingShaderImplementation:
Collaboration graph

Public Member Functions

virtual ~PostProcessingShaderImplementation ()
 Public destructor. More...
 
virtual bool isInitialized ()=0
 
virtual void initialize ()=0
 Initialize post processing shader. More...
 
virtual void useProgram (int contextIdx)=0
 Use program. More...
 
virtual void unUseProgram ()=0
 Unuse program. More...
 
virtual void setBufferPixelWidth (int contextIdx, float pixelWidth)=0
 Set source buffer pixel width. More...
 
virtual void setBufferPixelHeight (int contextIdx, float pixelHeight)=0
 Set source buffer pixel height. More...
 
virtual void setShaderParameters (int contextIdx, Engine *engine)=0
 Set shader parameters. More...
 

Detailed Description

Post processing shader program implementation interface.

Author
Andreas Drewke
Version
$Id$

Definition at line 17 of file PostProcessingShaderImplementation.h.

Constructor & Destructor Documentation

◆ ~PostProcessingShaderImplementation()

virtual ~PostProcessingShaderImplementation ( )
inlinevirtual

Public destructor.

Definition at line 23 of file PostProcessingShaderImplementation.h.

Member Function Documentation

◆ initialize()

virtual void initialize ( )
pure virtual

◆ isInitialized()

virtual bool isInitialized ( )
pure virtual
Returns
initialized and ready to be used

Implemented in PostProcessingShaderBaseImplementation.

◆ setBufferPixelHeight()

virtual void setBufferPixelHeight ( int  contextIdx,
float  pixelHeight 
)
pure virtual

Set source buffer pixel height.

Parameters
contextIdxcontext index
pixelHeightpixel height

Implemented in PostProcessingShaderBaseImplementation.

◆ setBufferPixelWidth()

virtual void setBufferPixelWidth ( int  contextIdx,
float  pixelWidth 
)
pure virtual

Set source buffer pixel width.

Parameters
contextIdxcontext index
pixelWidthpixel width

Implemented in PostProcessingShaderBaseImplementation.

◆ setShaderParameters()

virtual void setShaderParameters ( int  contextIdx,
Engine engine 
)
pure virtual

◆ unUseProgram()

virtual void unUseProgram ( )
pure virtual

Unuse program.

Implemented in PostProcessingShaderBaseImplementation.

◆ useProgram()

virtual void useProgram ( int  contextIdx)
pure virtual

Use program.

Parameters
contextIdxcontext index

Implemented in PostProcessingShaderBaseImplementation, and PostProcessingShaderSSAOMapImplementation.


The documentation for this struct was generated from the following file: