Otclient
14/8/2020
|
#include <shader.h>
Public Types | |
enum | ShaderType { Vertex, Fragment } |
Public Member Functions | |
Shader (ShaderType shaderType) | |
~Shader () | |
bool | compileSourceCode (const std::string &sourceCode) |
bool | compileSourceFile (const std::string &sourceFile) |
std::string | log () |
uint | getShaderId () |
ShaderType | getShaderType () |
Public Member Functions inherited from stdext::shared_object | |
shared_object () | |
virtual | ~shared_object () |
void | add_ref () |
void | dec_ref () |
refcount_t | ref_count () |
template<typename T > | |
stdext::shared_object_ptr< T > | static_self_cast () |
template<typename T > | |
stdext::shared_object_ptr< T > | dynamic_self_cast () |
template<typename T > | |
stdext::shared_object_ptr< T > | const_self_cast () |
enum Shader::ShaderType |
Shader::Shader | ( | Shader::ShaderType | shaderType | ) |
Shader::~Shader | ( | ) |
bool Shader::compileSourceCode | ( | const std::string & | sourceCode | ) |
bool Shader::compileSourceFile | ( | const std::string & | sourceFile | ) |
|
inline |
std::string Shader::log | ( | ) |
Definition at line 91 of file shader.cpp.