|
OpenWalnut
1.2.5
|
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. | |
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. | |
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 139 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 27 of file WGEShaderPropertyDefineOptions.cpp.
Referenced by WGEPostprocessingNode::WGEPostprocessingNode().
1.8.1