#include <glshadermanager.h>
An helper class to push a Shader on to ShaderManager's stack and ensuring that the Shader gets popped again from the stack automatically once the object goes out of life.
How to use:
- Since
- 4.10
Definition at line 181 of file glshadermanager.h.
◆ ShaderBinder() [1/2]
KWin::ShaderBinder::ShaderBinder |
( |
GLShader * | shader | ) |
|
|
inlineexplicit |
◆ ShaderBinder() [2/2]
KWin::ShaderBinder::ShaderBinder |
( |
ShaderTraits | traits | ) |
|
|
inlineexplicit |
◆ ~ShaderBinder()
KWin::ShaderBinder::~ShaderBinder |
( |
| ) |
|
|
inline |
◆ shader()
GLShader * KWin::ShaderBinder::shader |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: