HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RV_VKDescriptorBinding Struct Reference

#include <RV_VKDescriptorSet.h>

Public Member Functions

bool isValid () const
 
 RV_VKDescriptorBinding ()=default
 
 RV_VKDescriptorBinding (const UT_StringHolder &name, VkDescriptorType type, uint32_t count, VkShaderStageFlags stages, uint32_t binding, uint32_t set, RV_UniformType uniform_type)
 
 RV_VKDescriptorBinding (const UT_StringHolder &name, VkDescriptorType type, uint32_t count, VkShaderStageFlags stages, uint32_t binding, uint32_t set, uint32_t buffer_size, const UT_Array< RV_Uniform > &members)
 
bool isCompatibleToMerge ()
 
bool isCompatibleToBind ()
 
bool compare (const RV_VKDescriptorBinding &other, bool compare_uniforms_types, bool compare_uniforms_names, bool compare_binding_location, bool compare_binding_stages) const
 
void merge (const RV_VKDescriptorBinding &other)
 

Public Attributes

VkDescriptorType myType
 
uint32_t myCount = 0
 
VkShaderStageFlags myStages
 
uint32_t myBindingNumber
 
uint32_t mySetNumber
 
UT_StringHolder myName
 
uint32_t myBufferSize
 
UT_Array< RV_UniformmyUniforms
 

Detailed Description

Definition at line 154 of file RV_VKDescriptorSet.h.

Constructor & Destructor Documentation

RV_VKDescriptorBinding::RV_VKDescriptorBinding ( )
default
RV_VKDescriptorBinding::RV_VKDescriptorBinding ( const UT_StringHolder name,
VkDescriptorType  type,
uint32_t  count,
VkShaderStageFlags  stages,
uint32_t  binding,
uint32_t  set,
RV_UniformType  uniform_type 
)
RV_VKDescriptorBinding::RV_VKDescriptorBinding ( const UT_StringHolder name,
VkDescriptorType  type,
uint32_t  count,
VkShaderStageFlags  stages,
uint32_t  binding,
uint32_t  set,
uint32_t  buffer_size,
const UT_Array< RV_Uniform > &  members 
)

Member Function Documentation

bool RV_VKDescriptorBinding::compare ( const RV_VKDescriptorBinding other,
bool  compare_uniforms_types,
bool  compare_uniforms_names,
bool  compare_binding_location,
bool  compare_binding_stages 
) const
bool RV_VKDescriptorBinding::isCompatibleToBind ( )
bool RV_VKDescriptorBinding::isCompatibleToMerge ( )
bool RV_VKDescriptorBinding::isValid ( ) const
void RV_VKDescriptorBinding::merge ( const RV_VKDescriptorBinding other)

Member Data Documentation

uint32_t RV_VKDescriptorBinding::myBindingNumber

Definition at line 197 of file RV_VKDescriptorSet.h.

uint32_t RV_VKDescriptorBinding::myBufferSize

Definition at line 202 of file RV_VKDescriptorSet.h.

uint32_t RV_VKDescriptorBinding::myCount = 0

Definition at line 193 of file RV_VKDescriptorSet.h.

UT_StringHolder RV_VKDescriptorBinding::myName

Definition at line 201 of file RV_VKDescriptorSet.h.

uint32_t RV_VKDescriptorBinding::mySetNumber

Definition at line 200 of file RV_VKDescriptorSet.h.

VkShaderStageFlags RV_VKDescriptorBinding::myStages

Definition at line 196 of file RV_VKDescriptorSet.h.

VkDescriptorType RV_VKDescriptorBinding::myType

Definition at line 192 of file RV_VKDescriptorSet.h.

UT_Array<RV_Uniform> RV_VKDescriptorBinding::myUniforms

Definition at line 203 of file RV_VKDescriptorSet.h.


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