MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ storage_image()

Assemble & MayaFlux::Portal::Graphics::ShaderSpec::Assemble::storage_image ( std::string  name,
BindingDirection  direction = BindingDirection::Output 
)
inline

Declare a storage image binding (image2D).

Definition at line 443 of file ShaderSpec.hpp.

446 {
447 m_bindings.push_back({
448 .name = std::move(name),
449 .direction = direction,
452 .binding_index = m_next_binding++,
453 });
454 return *this;
455 }
std::string name
Definition VKDevice.cpp:143
@ IMAGE_2D
2D image (grayscale or single channel)

References MayaFlux::Kakshya::IMAGE_2D, m_bindings, m_next_binding, name, and MayaFlux::Kakshya::VEC4_F32.

Referenced by MayaFlux::Yantra::VisionGpuExecutor::config().

+ Here is the caller graph for this function: