MayaFlux 1.0.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 456 of file ShaderSpec.hpp.

459 {
460 m_bindings.push_back({
461 .name = std::move(name),
462 .direction = direction,
465 .binding_index = m_next_binding++,
466 });
467 return *this;
468 }
std::string name
Definition VKDevice.cpp:123
@ IMAGE_2D
2D image (grayscale or single channel)
@ VEC4_F32
glm::vec4 (32-bit components)

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

Referenced by MayaFlux::Yantra::VisionGpuExecutor::config(), and MayaFlux::Yantra::VisionGpuExecutor::op_canny().

+ Here is the caller graph for this function: