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

Info loaded from file, used to create VK Shader Module. More...

#include <RV_VKShaderModule.h>

Public Member Functions

 ~RV_VKShaderModuleInfo ()
 
 UT_NON_COPYABLE (RV_VKShaderModuleInfo)
 
VkShaderStageFlagBits getStage () const
 
RV_VKShaderReflectgetReflection () const
 
const UT_Array< uint8 > & getBinary () const
 
 RV_VKShaderModuleInfo (const UT_String &name, VkShaderStageFlagBits stage, const UT_Array< uint8 > &binary, UT_UniquePtr< RV_VKShaderReflect > reflection)
 

Static Public Member Functions

static RV_VKShaderModuleInfoPtr create (RV_Instance *inst, const UT_String &name, VkShaderStageFlagBits stage, const UT_Array< uint8 > &src)
 

Protected Attributes

VkShaderStageFlagBits myStage = VK_SHADER_STAGE_VERTEX_BIT
 
UT_String myName
 
UT_Array< uint8myBinary
 
UT_UniquePtr< RV_VKShaderReflectmyReflection
 

Friends

class RV_VKShaderReflect
 

Detailed Description

Info loaded from file, used to create VK Shader Module.

Definition at line 63 of file RV_VKShaderModule.h.

Constructor & Destructor Documentation

RV_VKShaderModuleInfo::~RV_VKShaderModuleInfo ( )
RV_VKShaderModuleInfo::RV_VKShaderModuleInfo ( const UT_String name,
VkShaderStageFlagBits  stage,
const UT_Array< uint8 > &  binary,
UT_UniquePtr< RV_VKShaderReflect reflection 
)

Member Function Documentation

static RV_VKShaderModuleInfoPtr RV_VKShaderModuleInfo::create ( RV_Instance inst,
const UT_String name,
VkShaderStageFlagBits  stage,
const UT_Array< uint8 > &  src 
)
static
const UT_Array<uint8>& RV_VKShaderModuleInfo::getBinary ( ) const
inline

Definition at line 84 of file RV_VKShaderModule.h.

RV_VKShaderReflect& RV_VKShaderModuleInfo::getReflection ( ) const
inline

Definition at line 78 of file RV_VKShaderModule.h.

VkShaderStageFlagBits RV_VKShaderModuleInfo::getStage ( ) const
inline

Definition at line 75 of file RV_VKShaderModule.h.

RV_VKShaderModuleInfo::UT_NON_COPYABLE ( RV_VKShaderModuleInfo  )

Friends And Related Function Documentation

friend class RV_VKShaderReflect
friend

Definition at line 101 of file RV_VKShaderModule.h.

Member Data Documentation

UT_Array<uint8> RV_VKShaderModuleInfo::myBinary
protected

Definition at line 98 of file RV_VKShaderModule.h.

UT_String RV_VKShaderModuleInfo::myName
protected

Definition at line 97 of file RV_VKShaderModule.h.

UT_UniquePtr<RV_VKShaderReflect> RV_VKShaderModuleInfo::myReflection
protected

Definition at line 99 of file RV_VKShaderModule.h.

VkShaderStageFlagBits RV_VKShaderModuleInfo::myStage = VK_SHADER_STAGE_VERTEX_BIT
protected

Definition at line 96 of file RV_VKShaderModule.h.


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