Dali 3D User Interface Engine
Functions
Dali::Internal::anonymous_namespace{shader-factory.cpp} Namespace Reference

Functions

void shaderBinaryFilename (size_t shaderHash, std::string &filename)
 Generates a filename for a shader binary based on the hash value passed in. More...
 

Function Documentation

void Dali::Internal::anonymous_namespace{shader-factory.cpp}::shaderBinaryFilename ( size_t  shaderHash,
std::string &  filename 
)

Generates a filename for a shader binary based on the hash value passed in.

Parameters
[in]shaderHashA hash over shader sources.
[out]filenameA string to overwrite with the filename.

Definition at line 57 of file shader-factory.cpp.

References Dali::CORE_MAJOR_VERSION, Dali::CORE_MICRO_VERSION, Dali::CORE_MINOR_VERSION, anonymous_namespace{shader-factory.cpp}::SHADER_SUFFIX, and anonymous_namespace{shader-factory.cpp}::VERSION_SEPARATOR.

Referenced by Dali::Internal::ShaderFactory::Load(), and Dali::Internal::ShaderFactory::SaveBinary().

Here is the caller graph for this function:

Dali Docs Home
Read more about Dali