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

◆ preamble()

Assemble & MayaFlux::Portal::Graphics::ShaderSpec::Assemble::preamble ( std::string text)
inline

Declare global GLSL text emitted after the push constants and before the functions.

For declarations a function cannot hold, such as shared memory arrays. Requires a kernel supplied via MF_KERNEL.

Definition at line 660 of file ShaderSpec.hpp.

661 {
662 m_preamble = std::move(text);
663 return *this;
664 }

References Assemble(), and m_preamble.

Here is the call graph for this function: