MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / SetTexID

Method SetTexID

KBotExt/imgui/imgui.h:2893–2893  ·  view source on GitHub ↗

Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent...

Source from the content-addressed store, hash-verified

2891 IMGUI_API void GetTexDataAsRGBA32(unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel = NULL); // 4 bytes-per-pixel
2892 bool IsBuilt() const { return Fonts.Size > 0 && TexReady; } // Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent...
2893 void SetTexID(ImTextureID id) { TexID = id; }
2894
2895 //-------------------------------------------
2896 // Glyph Ranges

Calls

no outgoing calls

Tested by

no test coverage detected