#include <RV_VKShaderCompile.h>
|
| RV_ShaderHandle (const char *program_file, bool reg_sh, const char *defines) |
|
| ~RV_ShaderHandle () override |
|
UT_StringHolder | getSpirvPath (RE_ShaderType stage=RE_SHADER_ALL) |
|
Public Member Functions inherited from RE_ShaderHandle |
| RE_ShaderHandle (const char *program_file, bool register_shader=true, const char *defines=nullptr, RE_ShaderLanguage lang=RE_SHADER_LANGUAGE_GLSL) |
| Create a shader handle using a .prog file. More...
|
|
| RE_ShaderHandle (const char *program_name, int code_version, const char *files, bool register_shader=true, const char *defines=nullptr, RE_ShaderLanguage lang=RE_SHADER_LANGUAGE_GLSL) |
|
| RE_ShaderHandle (const RE_ShaderHandle &handle) |
|
virtual | ~RE_ShaderHandle () |
|
RE_Shader * | operator-> () |
|
void | setProgramDefines (const char *defines) |
| Set the defines for the program, overwriting existing ones. More...
|
|
void | appendProgramDefines (const char *defines) |
| Add more defines to the defines list. More...
|
|
void | setShaderLanguage (RE_ShaderLanguage lang) |
| Default language is GLSL. More...
|
|
bool | isInitialized () const |
|
bool | isValid (RE_Render *r) |
|
bool | compile (RE_Render *r, UT_WorkBuffer *msg=nullptr) |
|
int | getCodeVersion () const |
| Returns the GLSL or Cg version that the shader was compiled with. More...
|
|
RE_Shader * | getShader () const |
|
void | printErrors (std::ostream &os) const |
| Prints this shader's errors, warnings and messages. More...
|
|
const char * | getErrors () const |
|
const char * | getName () const |
| Name of the shader (if any) or the .prog pathname. More...
|
|
const char * | getSourceFiles () const |
|
const char * | getDefines () const |
|
UT_UniquePtr< RE_Shader > | createDetachedShader (RE_Render *r, UT_String *errors=nullptr) const |
|
Definition at line 409 of file RV_VKShaderCompile.h.
RV_ShaderHandle::RV_ShaderHandle |
( |
const char * |
program_file, |
|
|
bool |
reg_sh, |
|
|
const char * |
defines |
|
) |
| |
|
inline |
RV_ShaderHandle::~RV_ShaderHandle |
( |
| ) |
|
|
inlineoverride |
The documentation for this class was generated from the following file: