Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine  1.5.28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Ra::Gui::internal::RenderParameterUiBuilder Class Reference
+ Collaboration diagram for Ra::Gui::internal::RenderParameterUiBuilder:

Public Types

using types = Engine::Data::RenderParameters::BindableTypes
 

Public Member Functions

 RenderParameterUiBuilder (VariableSetEditor *pse, const json &constraints)
 
void operator() (const std::string &name, bool &p, Core::VariableSet &&)
 
template<typename TParam , std::enable_if_t< std::is_arithmetic< TParam >::value, bool > = true>
void operator() (const std::string &name, TParam &p, Core::VariableSet &&params)
 
template<typename TParam , typename TAllocator , std::enable_if_t< std::is_arithmetic< TParam >::value, bool > = true>
void operator() (const std::string &name, std::vector< TParam, TAllocator > &p, Core::VariableSet &&params)
 
void operator() (const std::string &name, Ra::Core::Utils::Color &p, Core::VariableSet &&params)
 
template<template< typename, int... > typename M, typename T , int... dim>
void operator() (const std::string &name, M< T, dim... > &p, Core::VariableSet &&params)
 
void operator() (const std::string &, Data::RenderParameters::TextureInfo &, Core::VariableSet &&)
 
void operator() (const std::string &name, Ra::Engine::Data::RenderParameters &p, Core::VariableSet &&)
 

Detailed Description

Todo
use a dynamic visitor with add operator, hence this is customizable

Definition at line 21 of file ParameterSetEditor.cpp.

Member Typedef Documentation

◆ types

using Ra::Gui::internal::RenderParameterUiBuilder::types = Engine::Data::RenderParameters::BindableTypes

Definition at line 24 of file ParameterSetEditor.cpp.

Constructor & Destructor Documentation

◆ RenderParameterUiBuilder()

Ra::Gui::internal::RenderParameterUiBuilder::RenderParameterUiBuilder ( VariableSetEditor * pse,
const json & constraints )
inline

Definition at line 26 of file ParameterSetEditor.cpp.

Member Function Documentation

◆ operator()() [1/7]

void Ra::Gui::internal::RenderParameterUiBuilder::operator() ( const std::string & ,
Data::RenderParameters::TextureInfo & ,
Core::VariableSet &&  )
inline

Definition at line 91 of file ParameterSetEditor.cpp.

◆ operator()() [2/7]

void Ra::Gui::internal::RenderParameterUiBuilder::operator() ( const std::string & name,
bool & p,
Core::VariableSet &&  )
inline

Definition at line 29 of file ParameterSetEditor.cpp.

◆ operator()() [3/7]

template<template< typename, int... > typename M, typename T , int... dim>
void Ra::Gui::internal::RenderParameterUiBuilder::operator() ( const std::string & name,
M< T, dim... > & p,
Core::VariableSet && params )
inline

Definition at line 87 of file ParameterSetEditor.cpp.

◆ operator()() [4/7]

void Ra::Gui::internal::RenderParameterUiBuilder::operator() ( const std::string & name,
Ra::Core::Utils::Color & p,
Core::VariableSet && params )
inline

Definition at line 69 of file ParameterSetEditor.cpp.

◆ operator()() [5/7]

void Ra::Gui::internal::RenderParameterUiBuilder::operator() ( const std::string & name,
Ra::Engine::Data::RenderParameters & p,
Core::VariableSet &&  )
inline

Definition at line 97 of file ParameterSetEditor.cpp.

◆ operator()() [6/7]

template<typename TParam , typename TAllocator , std::enable_if_t< std::is_arithmetic< TParam >::value, bool > = true>
void Ra::Gui::internal::RenderParameterUiBuilder::operator() ( const std::string & name,
std::vector< TParam, TAllocator > & p,
Core::VariableSet && params )
inline

Definition at line 62 of file ParameterSetEditor.cpp.

◆ operator()() [7/7]

template<typename TParam , std::enable_if_t< std::is_arithmetic< TParam >::value, bool > = true>
void Ra::Gui::internal::RenderParameterUiBuilder::operator() ( const std::string & name,
TParam & p,
Core::VariableSet && params )
inline

Definition at line 48 of file ParameterSetEditor.cpp.


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