clan::ShaderEffect Class Reference - ClanLib SDK
Description: clan::ShaderEffect Class Reference

Public Member Functions | List of all members
clan::ShaderEffect Class Reference
clanDisplay Display

Shader Feffect. More...

`#include <shader_effect.h>`

## Public Member Functions
| ShaderEffect ()
| Constructs a null instance.
| ShaderEffect (GraphicContext &gc, const ShaderEffectDescription &description)
| Constructs a shader effect.
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

## ◆ ShaderEffect() [1/2]

clan::ShaderEffect::ShaderEffect | ( |  | ) |

Constructs a null instance.

## ◆ ShaderEffect() [2/2]

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

Constructs a shader effect.

Parameters

  description | Shader effect description.
  gc | Graphics context in which to create the shader effect.

## Member Function Documentation

## ◆ dispatch()

void clan::ShaderEffect::dispatch | ( | GraphicContext & | gc,
|  | int | x,
|  | int | y = 1,
|  | int | z = 1 )

References clan::x, clan::y, and clan::z.

## ◆ draw()

void clan::ShaderEffect::draw | ( | GraphicContext & | gc | ) |

## ◆ is_null()

bool clan::ShaderEffect::is_null | ( |  | ) | const

## ◆ operator bool()

clan::ShaderEffect::operator bool | ( |  | ) | const
| inlineexplicit

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

- shader_effect.h