MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::TextureExecutionContext::ImageSlot Struct Reference

One declared image binding: its GpuBufferBinding descriptor, the currently staged VKImage, and cached dimensions. More...

+ Collaboration diagram for MayaFlux::Yantra::TextureExecutionContext::ImageSlot:

Public Attributes

Portal::Graphics::ImageCacheSet alternate_cache { k_slot_cache_budget_bytes }
 
GpuBufferBinding binding
 
Portal::Graphics::ImageCacheSet cache { k_slot_cache_budget_bytes }
 
uint32_t height {}
 
std::shared_ptr< Core::VKImage > image
 
uint32_t width {}
 

Detailed Description

One declared image binding: its GpuBufferBinding descriptor, the currently staged VKImage, and cached dimensions.

direction on the stored GpuBufferBinding distinguishes the input slot from the output slot; element_type distinguishes IMAGE_STORAGE from IMAGE_SAMPLED. Binding index is caller-configurable at construction, never hardcoded elsewhere in this class.

cache retains images by allocation properties, so a slot that alternates between a few shapes reuses its images.

Definition at line 567 of file TextureExecutionContext.hpp.


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