MCPcopy Create free account
hub / github.com/cginternals/globjects / shaderString

Method shaderString

source/globjects/source/Shader.cpp:240–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240std::string Shader::shaderString() const
241{
242 std::stringstream ss;
243
244 ss << "Shader(" << typeString(m_type);
245
246 std::string shortInfo = m_source->shortInfo();
247 if (shortInfo.size() > 0)
248 ss << ", " << shortInfo;
249
250 ss << ")";
251
252 return ss.str();
253}
254
255std::string Shader::typeString() const
256{

Callers

nothing calls this directly

Calls 3

strMethod · 0.80
shortInfoMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected