![]() |
scg3
0.6
|
A shader ID to identify shaders in error messages. An arbitrary name can be added to the OpnGL shader index, e.g., a file name. More...
#include "ShaderCore.h"
Public Member Functions | |
ShaderID () | |
ShaderID (GLuint shader0, const std::string &name0) | |
Public Attributes | |
GLuint | shader |
std::string | name |
A shader ID to identify shaders in error messages. An arbitrary name can be added to the OpnGL shader index, e.g., a file name.
Definition at line 46 of file ShaderCore.h.
|
inline |
Definition at line 48 of file ShaderCore.h.
|
inline |
Definition at line 52 of file ShaderCore.h.
std::string scg::ShaderID::name |
Definition at line 57 of file ShaderCore.h.
GLuint scg::ShaderID::shader |
Definition at line 56 of file ShaderCore.h.