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

◆ get_parameter()

template<ComputeData InputType = Kakshya::DataVariant, ComputeData OutputType = InputType>
std::any MayaFlux::Yantra::UniversalTransformer< InputType, OutputType >::get_parameter ( const std::string &  name) const
inlineoverridevirtual

Gets a parameter value by name.

Parameters
nameParameter name
Returns
Parameter value or empty std::any if not found

Handles core transformer parameters and delegates to get_transformation_parameter() for transformer-specific parameters.

Implements MayaFlux::Yantra::ComputeOperation< InputType, OutputType >.

Definition at line 331 of file UniversalTransformer.hpp.

332 {
333 if (name == "strategy") {
334 return m_strategy;
335 }
336 if (name == "quality") {
337 return m_quality;
338 }
339 if (name == "scope") {
340 return m_scope;
341 }
343 }
std::string name
Definition VKDevice.cpp:123
TransformationScope m_scope
Current processing scope.
TransformationStrategy m_strategy
Core transformation configuration.
virtual std::any get_transformation_parameter(const std::string &name) const
Gets a transformation-specific parameter value.
TransformationQuality m_quality
Current quality level.

References MayaFlux::Yantra::UniversalTransformer< InputType, OutputType >::get_transformation_parameter(), MayaFlux::Yantra::UniversalTransformer< InputType, OutputType >::m_quality, MayaFlux::Yantra::UniversalTransformer< InputType, OutputType >::m_scope, MayaFlux::Yantra::UniversalTransformer< InputType, OutputType >::m_strategy, and name.

+ Here is the call graph for this function: