HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RV_VKShaderStage Class Reference

#include <RV_VKShaderCompile.h>

+ Inheritance diagram for RV_VKShaderStage:

Public Member Functions

 RV_VKShaderStage (RE_ShaderType stage, const char *name=nullptr)
 
 ~RV_VKShaderStage () override
 
bool setSource (RE_Render *r, const char *source_code, int version, UT_String *messages=nullptr, bool dump_source_on_error=true) override
 
bool getSource (RE_Render *r, UT_String &source) override
 
bool isValid () const
 
- Public Member Functions inherited from RE_ShaderStage
 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_StringgetFilename () 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)
 
void setID (int id)
 
int getID () const
 
int getCodeVersion () const
 

Friends

class RV_VKShader
 

Additional Inherited Members

- Protected Member Functions inherited from RE_ShaderStage
void setCodeVersion (int v)
 

Detailed Description

Definition at line 351 of file RV_VKShaderCompile.h.

Constructor & Destructor Documentation

RV_VKShaderStage::RV_VKShaderStage ( RE_ShaderType  stage,
const char *  name = nullptr 
)
RV_VKShaderStage::~RV_VKShaderStage ( )
override

Member Function Documentation

bool RV_VKShaderStage::getSource ( RE_Render r,
UT_String source 
)
inlineoverridevirtual

Reimplemented from RE_ShaderStage.

Definition at line 363 of file RV_VKShaderCompile.h.

bool RV_VKShaderStage::isValid ( ) const
inline

Definition at line 375 of file RV_VKShaderCompile.h.

bool RV_VKShaderStage::setSource ( RE_Render r,
const char *  source_code,
int  version,
UT_String messages = nullptr,
bool  dump_source_on_error = true 
)
overridevirtual

Implements RE_ShaderStage.

Friends And Related Function Documentation

friend class RV_VKShader
friend

Definition at line 398 of file RV_VKShaderCompile.h.


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