#include <utility.h>
Public Types | |
typedef void | BaseType |
typedef ShaderHeaderBuilder | ThisType |
Public Member Functions | |
void | clear (void) |
ThisType & | define (const std::string &name, const std::string &value) |
ThisType & | disableExtension (const std::string &ext) |
ThisType & | enableExtension (const std::string &ext) |
ThisType & | requireExtension (const std::string &ext) |
ThisType & | text (const std::string &txt) |
std::string | toString (void) const |
ThisType & | version (const std::string &v) |
Protected Types | |
typedef std::map< std::string, std::string > | DefineMap |
typedef DefineMap::const_iterator | DefineMapConstIterator |
typedef DefineMap::iterator | DefineMapIterator |
typedef DefineMap::value_type | DefineMapValue |
typedef std::map< std::string, ExtensionMode > | ExtensionMap |
typedef ExtensionMap::const_iterator | ExtensionMapConstIterator |
typedef ExtensionMap::iterator | ExtensionMapIterator |
typedef ExtensionMap::value_type | ExtensionMapValue |
enum | ExtensionMode { DontCare = 0, Enable, Disable, Require } |
typedef std::vector< std::string > | TextVector |
Protected Attributes | |
DefineMap | m_defines |
ExtensionMap | m_extensions |
TextVector | m_texts |
std::string | m_version |
typedef void glw::ShaderHeaderBuilder::BaseType |
typedef std::map<std::string, std::string> glw::ShaderHeaderBuilder::DefineMap [protected] |
typedef DefineMap::const_iterator glw::ShaderHeaderBuilder::DefineMapConstIterator [protected] |
typedef DefineMap::iterator glw::ShaderHeaderBuilder::DefineMapIterator [protected] |
typedef DefineMap::value_type glw::ShaderHeaderBuilder::DefineMapValue [protected] |
typedef std::map<std::string, ExtensionMode> glw::ShaderHeaderBuilder::ExtensionMap [protected] |
typedef ExtensionMap::const_iterator glw::ShaderHeaderBuilder::ExtensionMapConstIterator [protected] |
typedef ExtensionMap::iterator glw::ShaderHeaderBuilder::ExtensionMapIterator [protected] |
typedef ExtensionMap::value_type glw::ShaderHeaderBuilder::ExtensionMapValue [protected] |
typedef std::vector<std::string> glw::ShaderHeaderBuilder::TextVector [protected] |
enum glw::ShaderHeaderBuilder::ExtensionMode [protected] |
void glw::ShaderHeaderBuilder::clear | ( | void | ) | [inline] |
ThisType& glw::ShaderHeaderBuilder::define | ( | const std::string & | name, |
const std::string & | value | ||
) | [inline] |
ThisType& glw::ShaderHeaderBuilder::disableExtension | ( | const std::string & | ext | ) | [inline] |
ThisType& glw::ShaderHeaderBuilder::enableExtension | ( | const std::string & | ext | ) | [inline] |
ThisType& glw::ShaderHeaderBuilder::requireExtension | ( | const std::string & | ext | ) | [inline] |
ThisType& glw::ShaderHeaderBuilder::text | ( | const std::string & | txt | ) | [inline] |
std::string glw::ShaderHeaderBuilder::toString | ( | void | ) | const [inline] |
ThisType& glw::ShaderHeaderBuilder::version | ( | const std::string & | v | ) | [inline] |
DefineMap glw::ShaderHeaderBuilder::m_defines [protected] |
ExtensionMap glw::ShaderHeaderBuilder::m_extensions [protected] |
TextVector glw::ShaderHeaderBuilder::m_texts [protected] |
std::string glw::ShaderHeaderBuilder::m_version [protected] |