Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Namespaces | Functions
RenderHelpers.h File Reference

Helper functions for rendering node graph pins and connections. More...

#include "../third_party/imgui/imgui.h"
#include "../vector.h"
#include <cstdint>
+ Include dependency graph for RenderHelpers.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 
namespace  Olympe::NodeGraphShared
 

Functions

ImVec2 Olympe::NodeGraphShared::ComputePinCenterScreen (int nodeId, const BTNodeLayout *layout, bool isOutput, float pinOffset, float headerHeight, float zoom)
 Compute the screen-space center position of a pin.
 
void Olympe::NodeGraphShared::DrawPinCircle (ImDrawList *drawList, const ImVec2 &center, float radius, uint32_t color, uint32_t outlineColor, float outlineThickness)
 Draw a pin circle with outline.
 

Detailed Description

Helper functions for rendering node graph pins and connections.

Definition in file RenderHelpers.h.