MCPcopy Create free account
hub / github.com/RenderKit/embree / UpdateAliasKey

Function UpdateAliasKey

tutorials/common/imgui/imgui.cpp:4113–4119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4111}
4112
4113static void UpdateAliasKey(ImGuiKey key, bool v, float analog_value)
4114{
4115 IM_ASSERT(ImGui::IsAliasKey(key));
4116 ImGuiKeyData* key_data = ImGui::GetKeyData(key);
4117 key_data->Down = v;
4118 key_data->AnalogValue = analog_value;
4119}
4120
4121// Rewrite routing data buffers to strip old entries + sort by key to make queries not touch scattered data.
4122// Entries D,A,B,B,A,C,B --> A,A,B,B,B,C,D

Callers 1

UpdateKeyboardInputsMethod · 0.85

Calls 1

IsAliasKeyFunction · 0.85

Tested by

no test coverage detected