◆ ShaderSource()
ShaderSource::ShaderSource |
( |
| ) |
|
◆ ~ShaderSource()
ShaderSource::~ShaderSource |
( |
| ) |
|
|
override |
◆ addShaderConstantSetterFactory()
◆ generateShader()
References ShaderInfo::base_material, ShaderInfo::drawtype, dumpShaderProgram(), errorstream, fmtgettext(), g_settings, Settings::get(), RenderingEngine::get_video_driver(), Settings::getBool(), Settings::getFloat(), SourceShaderCache::getOrLoad(), Settings::getS32(), Settings::getU16(), infostream, m_setter_factories, m_sourcecache, ShaderInfo::material, ShaderInfo::material_type, MYMAX, ShaderInfo::name, NDT_AIRLIKE, NDT_ALLFACES, NDT_ALLFACES_OPTIONAL, NDT_FENCELIKE, NDT_FIRELIKE, NDT_FLOWINGLIQUID, NDT_GLASSLIKE, NDT_GLASSLIKE_FRAMED, NDT_GLASSLIKE_FRAMED_OPTIONAL, NDT_LIQUID, NDT_NODEBOX, NDT_NORMAL, NDT_PLANTLIKE, NDT_PLANTLIKE_ROOTED, NDT_RAILLIKE, NDT_SIGNLIKE, NDT_TORCHLIKE, PROVIDE, strgettext(), TILE_MATERIAL_ALPHA, TILE_MATERIAL_BASIC, TILE_MATERIAL_LIQUID_OPAQUE, TILE_MATERIAL_LIQUID_TRANSPARENT, TILE_MATERIAL_OPAQUE, TILE_MATERIAL_PLAIN, TILE_MATERIAL_PLAIN_ALPHA, TILE_MATERIAL_WAVING_LEAVES, TILE_MATERIAL_WAVING_LIQUID_BASIC, TILE_MATERIAL_WAVING_LIQUID_OPAQUE, TILE_MATERIAL_WAVING_LIQUID_TRANSPARENT, TILE_MATERIAL_WAVING_PLANTS, and warningstream.
Referenced by getShaderIdDirect(), and rebuildShaders().
◆ getShader()
Reimplemented from IShaderSource.
References errorstream, getShaderIdDirect(), infostream, GetResult< Key, T, Caller, CallerData >::item, GetResult< Key, T, Caller, CallerData >::key, m_main_thread, and MutexedQueue< T >::pop_frontNoEx().
◆ getShaderIdDirect()
◆ getShaderInfo()
◆ insertSourceShader()
void ShaderSource::insertSourceShader |
( |
const std::string & | name_of_shader, |
|
|
const std::string & | filename, |
|
|
const std::string & | program ) |
|
overridevirtual |
◆ processQueue()
void ShaderSource::processQueue |
( |
| ) |
|
|
overridevirtual |
◆ rebuildShaders()
void ShaderSource::rebuildShaders |
( |
| ) |
|
|
overridevirtual |
◆ m_main_thread
std::thread::id ShaderSource::m_main_thread |
|
private |
◆ m_setter_factories
◆ m_shaderinfo_cache
std::vector<ShaderInfo> ShaderSource::m_shaderinfo_cache |
|
private |
◆ m_shaderinfo_cache_mutex
std::mutex ShaderSource::m_shaderinfo_cache_mutex |
|
private |
◆ m_sourcecache
The documentation for this class was generated from the following file: