Skip to content

Commit

Permalink
Split AppData::m_appData into platform (as-is: m_appData) and rendere…
Browse files Browse the repository at this point in the history
…r depended (m_rendererData introduced)

Premises: https://github.com/ocornut/imgui/blob/6b2e03c5b1bc4f99dbd86d10e5fd12af9e3fe1c2/imgui.h#L2005-L2009

This pull-req addresses: john-chapman#63
  • Loading branch information
ChemistAion committed Jun 24, 2023
1 parent 04e7c60 commit 443a5a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions im3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ struct AppData
float m_snapScale = 0.0f; // Snap value for scale gizmos. 0 = disabled.
bool m_flipGizmoWhenBehind = true; // Flip gizmo axes when viewed from behind.
void* m_appData = nullptr; // App-specific data.
void* m_rendererData = nullptr; // Renderer-specific data.

DrawPrimitivesCallback* drawCallback = nullptr; // e.g. void Im3d_Draw(const DrawList& _drawList)

Expand Down

0 comments on commit 443a5a3

Please sign in to comment.