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

◆ preamble()

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 }