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

#include <RV_VKPipeline.h>

Public Member Functions

 RV_VKPipelineInputInfo ()
 
void resetInputState ()
 
void addVertexAttribute (uint32_t location, uint32_t binding, VkFormat format, uint32_t offset)
 
void addVertexBinding (uint32_t binding, uint32_t stride, VkVertexInputRate input_rate=VK_VERTEX_INPUT_RATE_VERTEX)
 
void getInputBindings (UT_Array< VkVertexInputBindingDescription > &final_bindings) const
 
void getInputAttributes (UT_Array< VkVertexInputAttributeDescription > &final_attributes) const
 

Public Attributes

UT_Array
< VkVertexInputBindingDescription
myInputBindings
 
UT_Array
< VkVertexInputAttributeDescription
myInputAttributes
 

Friends

bool operator== (const RV_VKPipelineInputInfo &lhs, const RV_VKPipelineInputInfo &rhs)
 

Detailed Description

Definition at line 353 of file RV_VKPipeline.h.

Constructor & Destructor Documentation

RV_VKPipelineInputInfo::RV_VKPipelineInputInfo ( )
inline

Definition at line 355 of file RV_VKPipeline.h.

Member Function Documentation

void RV_VKPipelineInputInfo::addVertexAttribute ( uint32_t  location,
uint32_t  binding,
VkFormat  format,
uint32_t  offset 
)
inline

Definition at line 374 of file RV_VKPipeline.h.

void RV_VKPipelineInputInfo::addVertexBinding ( uint32_t  binding,
uint32_t  stride,
VkVertexInputRate  input_rate = VK_VERTEX_INPUT_RATE_VERTEX 
)
inline

Definition at line 386 of file RV_VKPipeline.h.

void RV_VKPipelineInputInfo::getInputAttributes ( UT_Array< VkVertexInputAttributeDescription > &  final_attributes) const
inline

Definition at line 414 of file RV_VKPipeline.h.

void RV_VKPipelineInputInfo::getInputBindings ( UT_Array< VkVertexInputBindingDescription > &  final_bindings) const
inline

Definition at line 396 of file RV_VKPipeline.h.

void RV_VKPipelineInputInfo::resetInputState ( )
inline

Add Info for Attribute from Vertex Array location is the ID of the attribute set/queried from the shader Binding is the binding point of the array to pull data from

Definition at line 369 of file RV_VKPipeline.h.

Friends And Related Function Documentation

bool operator== ( const RV_VKPipelineInputInfo lhs,
const RV_VKPipelineInputInfo rhs 
)
friend

Member Data Documentation

UT_Array<VkVertexInputAttributeDescription> RV_VKPipelineInputInfo::myInputAttributes

Definition at line 362 of file RV_VKPipeline.h.

UT_Array<VkVertexInputBindingDescription> RV_VKPipelineInputInfo::myInputBindings

Definition at line 361 of file RV_VKPipeline.h.


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