MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SetName

Method SetName

deps/LLGL/sources/Renderer/OpenGL/Texture/GLTexture.cpp:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void GLTexture::SetName(const char* name)
140{
141 if (IsRenderbuffer())
142 GLSetObjectLabel(GL_RENDERBUFFER, GetID(), name);
143 else
144 GLSetObjectLabel(GL_TEXTURE, GetID(), name);
145}
146
147static GLenum GLGetTextureParamTarget(const TextureType type)
148{

Callers

nothing calls this directly

Calls 1

GLSetObjectLabelFunction · 0.85

Tested by

no test coverage detected