MCPcopy Create free account
hub / github.com/cinder/Cinder / PushTexture

Method PushTexture

src/imgui/imgui_draw.cpp:678–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676}
677
678void ImDrawList::PushTexture(ImTextureRef tex_ref)
679{
680 _TextureStack.push_back(tex_ref);
681 _CmdHeader.TexRef = tex_ref;
682 if (tex_ref._TexData != NULL)
683 IM_ASSERT(tex_ref._TexData->WantDestroyNextFrame == false);
684 _OnChangedTexture();
685}
686
687void ImDrawList::PopTexture()
688{

Callers 3

RenderMouseCursorMethod · 0.80
GetViewportBgFgDrawListFunction · 0.80
BeginMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected