Typedefs | Functions

WGEShaderPropertyDefineOptionsTools Namespace Reference

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.

Detailed Description

Contains some utility functions related to the WGEShaderPropertyDefineOptions class.


Typedef Documentation

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.


Function Documentation

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.

Parameters:
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
Returns:
a WGEShaderPropertyDefineOptions instance associated with a new property. This can be acquired using getProperty().

Definition at line 27 of file WGEShaderPropertyDefineOptions.cpp.

Referenced by WGEPostprocessingNode::WGEPostprocessingNode().

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends