|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| using MayaFlux::Buffers::ShaderProcessor::FeedValue = std::variant<double, Kakshya::GpuValue, Kakshya::DataVariant> |
What a feed callable returns.
A push constant entry takes a double, written at the entry's width, or a GpuValue, written as its own format's bytes at the offset. A storage descriptor entry takes a DataVariant. Which one an entry expects is fixed when it is registered by the name it resolves to.
A float or int literal converts to the double alternative; wrap a value in Kakshya::GpuValue to feed it as its own format.
Definition at line 238 of file ShaderProcessor.hpp.