MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Graphics::FunctionDef Struct Reference

A standalone function emitted before main() in the generated GLSL. More...

#include <ShaderSpec.hpp>

+ Collaboration diagram for MayaFlux::Portal::Graphics::FunctionDef:

Public Attributes

std::string body
 
std::string name
 
std::string params
 
std::string return_type
 

Detailed Description

A standalone function emitted before main() in the generated GLSL.

Body text is injected verbatim between the braces of the emitted signature. Consumed by the GLSL kernel path only: the SPIR-V assembly emitter has no function-call lowering and ignores this list.

Definition at line 330 of file ShaderSpec.hpp.


The documentation for this struct was generated from the following file: