#include <RE_Shader.h>
|
| RE_ShaderStage (RE_ShaderType stype, const char *name=0) |
|
virtual | ~RE_ShaderStage () |
|
virtual int64 | getMemoryUsage (bool inclusive) const |
|
const char * | getName () const |
|
RE_ShaderType | getShaderType () const |
|
const UT_String & | getFilename () const |
|
void | setFilename (const char *fname) |
|
bool | loadShader (RE_Render *r, const char *filename, UT_String *messages=nullptr, bool dump_source_on_error=true, const char *defines=nullptr, int default_code_version=RE_Shader::USE_GLSL_BASE_VERSION, int max_verts=-1, RE_ShaderLanguage lang=RE_SHADER_LANGUAGE_GLSL) |
|
virtual bool | setSource (RE_Render *r, const char *source_code, int version, UT_String *messages=nullptr, bool dump_source_on_error=true)=0 |
|
virtual bool | getSource (RE_Render *r, UT_String &source) |
|
void | setID (int id) |
|
int | getID () const |
|
int | getCodeVersion () const |
|
Definition at line 1185 of file RE_Shader.h.
RE_ShaderStage::RE_ShaderStage |
( |
RE_ShaderType |
stype, |
|
|
const char * |
name = 0 |
|
) |
| |
virtual RE_ShaderStage::~RE_ShaderStage |
( |
| ) |
|
|
virtual |
int RE_ShaderStage::getCodeVersion |
( |
| ) |
const |
|
inline |
const UT_String& RE_ShaderStage::getFilename |
( |
| ) |
const |
|
inline |
int RE_ShaderStage::getID |
( |
| ) |
const |
|
inline |
virtual int64 RE_ShaderStage::getMemoryUsage |
( |
bool |
inclusive | ) |
const |
|
inlinevirtual |
const char* RE_ShaderStage::getName |
( |
| ) |
const |
|
inline |
void RE_ShaderStage::setCodeVersion |
( |
int |
v | ) |
|
|
inlineprotected |
void RE_ShaderStage::setFilename |
( |
const char * |
fname | ) |
|
|
inline |
void RE_ShaderStage::setID |
( |
int |
id | ) |
|
|
inline |
virtual bool RE_ShaderStage::setSource |
( |
RE_Render * |
r, |
|
|
const char * |
source_code, |
|
|
int |
version, |
|
|
UT_String * |
messages = nullptr , |
|
|
bool |
dump_source_on_error = true |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: