MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Graphics::HazardResource Struct Reference

One resource this stage's dispatch reads/writes that a later stage in the sequence depends on, paired with its binding metadata for barrier construction. More...

#include <ComputePress.hpp>

+ Collaboration diagram for MayaFlux::Portal::Graphics::HazardResource:

Public Attributes

GpuBufferBinding binding
 Direction/element_type describing this resource.
 
vk::Buffer buffer
 Valid when binding.element_type is anything else.
 
vk::Image image
 Valid when binding.element_type is IMAGE_STORAGE/IMAGE_SAMPLED.
 

Detailed Description

One resource this stage's dispatch reads/writes that a later stage in the sequence depends on, paired with its binding metadata for barrier construction.

ComputePress owns no resource registry (that lives in callers like Yantra::GpuResourceManager), so the raw handle must travel with the binding description rather than being looked up by index.

Definition at line 25 of file ComputePress.hpp.


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