#include "string/string.h"
#include "character.h"
#include "ishadersystem.h"
Go to the source code of this file.
Data Structures | |
class | shader_less_t |
Defines | |
#define | INCLUDED_SHADERLIB_H |
Functions | |
bool | shader_equal (const std::string &shader, const std::string &other) |
bool | shader_equal_n (const std::string &shader, const std::string &other, std::size_t n) |
bool | shader_less (const std::string &shader, const std::string &other) |
bool | shader_equal_prefix (const std::string &string, const std::string &prefix) |
bool | shader_valid (const char *shader) |
const std::string & | GlobalTexturePrefix_get () |
bool | shader_is_texture (const std::string &name) |
const std::string | shader_get_textureName (const std::string &name) |
bool | texdef_name_valid (const std::string &name) |
#define INCLUDED_SHADERLIB_H |
Definition at line 23 of file shaderlib.h.
const std::string& GlobalTexturePrefix_get | ( | ) | [inline] |
Definition at line 65 of file shaderlib.h.
References ShaderSystem::getTexturePrefix(), and GlobalShaderSystem().
Referenced by shader_get_textureName(), and shader_is_texture().
bool shader_equal | ( | const std::string & | shader, | |
const std::string & | other | |||
) | [inline] |
Definition at line 30 of file shaderlib.h.
bool shader_equal_n | ( | const std::string & | shader, | |
const std::string & | other, | |||
std::size_t | n | |||
) | [inline] |
Definition at line 35 of file shaderlib.h.
Referenced by shader_equal_prefix().
bool shader_equal_prefix | ( | const std::string & | string, | |
const std::string & | prefix | |||
) | [inline] |
Definition at line 45 of file shaderlib.h.
References shader_equal_n().
Referenced by TextureNameList::forEach(), and shader_is_texture().
const std::string shader_get_textureName | ( | const std::string & | name | ) | [inline] |
Definition at line 75 of file shaderlib.h.
References GlobalTexturePrefix_get().
bool shader_is_texture | ( | const std::string & | name | ) | [inline] |
Definition at line 70 of file shaderlib.h.
References GlobalTexturePrefix_get(), and shader_equal_prefix().
Referenced by texdef_name_valid().
bool shader_less | ( | const std::string & | shader, | |
const std::string & | other | |||
) | [inline] |
Definition at line 40 of file shaderlib.h.
Referenced by shader_less_t::operator()().
bool shader_valid | ( | const char * | shader | ) | [inline] |
Definition at line 59 of file shaderlib.h.
References string_is_ascii().
Referenced by brush_check_shader(), and texdef_name_valid().
bool texdef_name_valid | ( | const std::string & | name | ) | [inline] |
Definition at line 80 of file shaderlib.h.
References shader_is_texture(), and shader_valid().