MCPcopy Create free account
hub / github.com/Norbyte/bg3se / Bind

Method Bind

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37bool ImageReference::Bind(FixedString const& iconOrTexture)
38{
39 if (!BindIcon(iconOrTexture) && !BindTexture(iconOrTexture)) {
40 WARN("Unable to load icon or texture resource '%s'", iconOrTexture.GetString());
41 return false;
42 }
43
44 return true;
45}
46
47bool ImageReference::BindTexture(FixedString const& textureUuid)
48{

Callers 2

AddImageButtonMethod · 0.80
AddImageMethod · 0.80

Calls 1

GetStringMethod · 0.80

Tested by

no test coverage detected