MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / SetName

Method SetName

pcsx2/GS/Renderers/OpenGL/GLProgram.cpp:494–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492}
493
494void GLProgram::SetName(const std::string_view name)
495{
496 if (name.empty())
497 return;
498
499#ifdef _DEBUG
500 glObjectLabel(GL_PROGRAM, m_program_id, name.length(), name.data());
501#endif
502}
503
504void GLProgram::SetFormattedName(const char* format, ...)
505{

Callers 3

SetObjectNameMethod · 0.45
CreateImGuiProgramMethod · 0.45

Calls 3

emptyMethod · 0.45
lengthMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected