MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / imageButton

Method imageButton

Source/Falcor/Utils/UI/Gui.cpp:1675–1678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1673}
1674
1675bool Gui::Widgets::imageButton(const char label[], const Texture* pTex, float2 size, bool maintainRatio, bool sameLine)
1676{
1677 return mpGui ? mpGui->mpWrapper->addImageButton(label, pTex, size, maintainRatio, sameLine) : false;
1678}
1679
1680void Gui::Widgets::image(const char label[], const Texture* pTex, float2 size, bool maintainRatio, bool sameLine)
1681{

Callers 1

renderUIMethod · 0.80

Calls 1

addImageButtonMethod · 0.80

Tested by

no test coverage detected