Shader Feffect. More...

#include <shader_effect.h>

Public Member Functions

 ShaderEffect ()
 Constructs a null instance. More...
 
 ShaderEffect (GraphicContext &gc, const ShaderEffectDescription &description)
 Constructs a shader effect. More...
 
void dispatch (GraphicContext &gc, int x, int y=1, int z=1)
 
void draw (GraphicContext &gc)
 
bool is_null () const
 
 operator bool () const
 

Detailed Description

Shader Feffect.

Constructor & Destructor Documentation

clan::ShaderEffect::ShaderEffect ( )

Constructs a null instance.

clan::ShaderEffect::ShaderEffect ( GraphicContext gc,
const ShaderEffectDescription description 
)

Constructs a shader effect.

Parameters
descriptionShader effect description.
gcGraphics context in which to create the shader effect.

Member Function Documentation

void clan::ShaderEffect::dispatch ( GraphicContext gc,
int  x,
int  y = 1,
int  z = 1 
)
void clan::ShaderEffect::draw ( GraphicContext gc)
bool clan::ShaderEffect::is_null ( ) const
clan::ShaderEffect::operator bool ( ) const
inlineexplicit

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