MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / PopTexture

Method PopTexture

imgui_tiny_app/imgui/imgui_draw.cpp:705–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703}
704
705void ImDrawList::PopTexture()
706{
707 _TextureStack.pop_back();
708 _CmdHeader.TexRef = (_TextureStack.Size == 0) ? ImTextureRef() : _TextureStack.Data[_TextureStack.Size - 1];
709 _OnChangedTexture();
710}
711
712// This is used by ImGui::PushFont()/PopFont(). It works because we never use _TextureIdStack[] elsewhere than in PushTexture()/PopTexture().
713void ImDrawList::_SetTexture(ImTextureRef tex_ref)

Callers 1

RenderMouseCursorMethod · 0.80

Calls 1

ImTextureRefFunction · 0.85

Tested by

no test coverage detected