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

◆ texture()

Assemble & MayaFlux::Portal::Graphics::ShaderSpec::Assemble::texture ( std::string  name)
inline

Declare a sampled image binding (sampler2D).

Definition at line 428 of file ShaderSpec.hpp.

429 {
430 m_bindings.push_back({
431 .name = std::move(name),
432 .direction = BindingDirection::Input,
435 .binding_index = m_next_binding++,
436 });
437 return *this;
438 }
std::string name
Definition VKDevice.cpp:143

References MayaFlux::Portal::Graphics::Input, m_bindings, m_next_binding, name, MayaFlux::Kakshya::TEXTURE_2D, and MayaFlux::Kakshya::VEC4_F32.