Specialization of NamedString for ShaderInclude type. More...
#include </home/chochlik/devel/oglplus/include/oglplus/named_string.hpp>
Public Member Functions | |
ShaderInclude (String &&name, const StrCRef &value) | |
Create a shader include with the specified name and value. | |
void | Set (const StrCRef &value) |
Set a new value for this shader include. | |
void | Set (NamedStringType type, const StrCRef &value) |
Sets the value of the specified type in this NamedString. | |
String | Get (void) const |
Sets the value of this NamedString. | |
Static Public Member Functions | |
static void | Set (NamedStringType type, const StrCRef &name, const StrCRef &value) |
Store the value , of the specified type under name . | |
static String | Get (const StrCRef &name) |
Gets the value stored under name . | |
static void | Delete (const StrCRef &name) |
Deletes the value stored under name . | |
static NamedStringType | Type (const StrCRef &name) |
Gets the type of the named string stored under name . | |
static bool | IsA (const StrCRef &name) |
Checks if name is a stored string. | |
Specialization of NamedString for ShaderInclude type.