MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Buffers::VKBufferResources Struct Reference

Raw Vulkan handles owned by a VKBuffer instance. More...

#include <VKBuffer.hpp>

+ Collaboration diagram for MayaFlux::Buffers::VKBufferResources:

Classes

struct  GenerationSlot
 

Public Attributes

std::vector< GenerationSlotback_buffers
 
vk::Buffer buffer
 
vk::Buffer index_buffer
 
vk::DeviceMemory index_memory
 
size_t index_size_bytes { 0 }
 
void * mapped_ptr { nullptr }
 
vk::DeviceMemory memory
 

Detailed Description

Raw Vulkan handles owned by a VKBuffer instance.

The index_buffer / index_memory / index_size_bytes fields are populated by GeometryBindingsProcessor after index data upload and consumed by RenderProcessor to select the indexed draw path. They are null/zero for all non-indexed geometry; no separate allocation object is required. back_buffers are reserved for double-buffered or N-buffered ping-pong state or other auxiliary buffers owned by a VKBuffer subclass. They are empty when unused.

Definition at line 34 of file VKBuffer.hpp.


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