zenilib: Zeni::Shader_GL_Shader Class Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
Zeni::Shader_GL_Shader Class Reference

`#include <Shader.h>`

Inherits Zeni::Shader.

## Public Member Functions

| Shader_GL_Shader (const String &shader_src, const Type &type)
| ~Shader_GL_Shader ()
GLuint | get () const
Public Member Functions inherited from Zeni::Shader
| Shader ()
virtual | ~Shader ()

## Additional Inherited Members

Public Types inherited from Zeni::Shader
enum | Type { VERTEX, FRAGMENT }

## Detailed Description

Definition at line 162 of file Shader.h.

## Constructor & Destructor Documentation

Zeni::Shader_GL_Shader::Shader_GL_Shader | ( | const String & | shader_src,
|  | const Type & | type
| ) |  |

Definition at line 73 of file Shader.cpp.

References Zeni::String::c_str(), GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_TRUE, glCompileShader(), glGetShaderInfoLog(), glGetShaderiv(), and glShaderSource().

Zeni::Shader_GL_Shader::~Shader_GL_Shader | ( |  | ) |

Definition at line 94 of file Shader.cpp.

References glDeleteShader().

## Member Function Documentation

GLuint Zeni::Shader_GL_Shader::get | ( |  | ) | const

inline

Definition at line 39 of file Shader.hxx.

Referenced by Zeni::Program_GL_Shader::attach().

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

- zenilib/jni/external/zenilib/zeni_graphics/Zeni/Shader.h
- zenilib/jni/external/zenilib/zeni_graphics/Shader.cpp
- zenilib/jni/external/zenilib/zeni_graphics/Zeni/Shader.hxx