krita/ui
KisOpenGLVertexShader Class Reference
An encapsulation of an OpenGL Shading Language vertex shader object. More...
#include <kis_opengl_vertex_shader.h>
Inheritance diagram for KisOpenGLVertexShader:

Static Public Member Functions | |
| static KisOpenGLVertexShader | file (const QString &sourceCodeFilename) |
| static KisOpenGLVertexShader | string (const char *sourceCodeString) |
| static KisOpenGLVertexShader | string (const QString &sourceCodeString) |
Protected Member Functions | |
| KisOpenGLVertexShader () | |
Detailed Description
An encapsulation of an OpenGL Shading Language vertex shader object.
Definition at line 31 of file kis_opengl_vertex_shader.h.
Constructor & Destructor Documentation
| KisOpenGLVertexShader::KisOpenGLVertexShader | ( | ) | [protected] |
Definition at line 38 of file kis_opengl_vertex_shader.cpp.
Member Function Documentation
| KisOpenGLVertexShader KisOpenGLVertexShader::file | ( | const QString & | sourceCodeFilename | ) | [static] |
Loads the shader source code from the given file, which will be searched for in the 'kis_shaders' resource directory (krita/data/shaders).
Refer to KisOpenGLShader for more information.
- Parameters:
-
sourceCodeFilename the file to read the source code from
Definition at line 24 of file kis_opengl_vertex_shader.cpp.
| static KisOpenGLVertexShader KisOpenGLVertexShader::string | ( | const char * | sourceCodeString | ) | [static] |
Loads the shader source code from the given char* string.
- Parameters:
-
sourceCodeString the source string to load from
| KisOpenGLVertexShader KisOpenGLVertexShader::string | ( | const QString & | sourceCodeString | ) | [static] |
Loads the shader source code from the given QString.
- Parameters:
-
sourceCodeString the source string to load from
Definition at line 31 of file kis_opengl_vertex_shader.cpp.
The documentation for this class was generated from the following files:
