OpenWalnut
1.5.0dev
|
Contains some utility functions related to the WGEShaderPropertyDefineOptions class. More...
Typedefs | |
typedef boost::tuple< std::string, std::string, std::string > | NameDescriptionDefineTuple |
This tuple contains name, description and define-name of an option. More... | |
Functions | |
WGEShaderPropertyDefineOptions< WPropSelection >::SPtr | createSelection (std::string propName, std::string propDescription, WProperties::SPtr propGroup, std::vector< NameDescriptionDefineTuple > defines) |
A little bit more comfortable way to create a list of shader-defines and the corresponding property. More... | |
Contains some utility functions related to the WGEShaderPropertyDefineOptions class.
typedef boost::tuple< std::string, std::string, std::string > WGEShaderPropertyDefineOptionsTools::NameDescriptionDefineTuple |
This tuple contains name, description and define-name of an option.
Definition at line 135 of file WGEShaderPropertyDefineOptions.h.
WGEShaderPropertyDefineOptions< WPropSelection >::SPtr WGEShaderPropertyDefineOptionsTools::createSelection | ( | std::string | propName, |
std::string | propDescription, | ||
WProperties::SPtr | propGroup, | ||
std::vector< NameDescriptionDefineTuple > | defines | ||
) |
A little bit more comfortable way to create a list of shader-defines and the corresponding property.
propName | the name of the property to create |
propDescription | the description of the property to create |
propGroup | the owning group of the property |
defines | the list of names, descriptions and defines |
Definition at line 31 of file WGEShaderPropertyDefineOptions.cpp.