VkCV Framework  0.0.1
CV Vulkan framework
vkcv::VertexBinding Struct Reference

Public Member Functions

 VertexBinding (uint32_t bindingLocation, const std::vector< VertexAttachment > &attachments) noexcept
 

Public Attributes

uint32_t bindingLocation
 
uint32_t stride
 
std::vector< VertexAttachmentvertexAttachments
 

Detailed Description

Constructor & Destructor Documentation

◆ VertexBinding()

vkcv::VertexBinding::VertexBinding ( uint32_t  bindingLocation,
const std::vector< VertexAttachment > &  attachments 
)
noexcept

Describes all vertex input attachments one buffer contains to create a vertex buffer binding. NOTE: multiple vertex layouts may contain various (mutually exclusive) vertex input attachments to form one complete vertex buffer binding!

Parameters
bindingLocationits entry in the buffers that make up the whole vertex buffer.
attachmentsthe vertex input attachments this specific buffer layout contains.

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