XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGraphEvent Struct Reference

#include <GraphEvents.h>

Public Types

enum class  Type {
  VertexAdded , BeforeVertexRemoved , VertexRemoved , EdgeAdded ,
  BeforeEdgeRemoved , EdgeRemoved , EdgeReconnected , BeforeReset ,
  Reset
}

Public Member Functions

 XII_DECLARE_POD_TYPE ()

Public Attributes

Type m_Type
const xiiGraph * m_pGraph = nullptr
xiiGraphVertexHandle m_hVertex
xiiGraphEdgeHandle m_hEdge
xiiGraphVertexHandle m_hSource
xiiGraphVertexHandle m_hTarget
const xiiGraphHandleMap * m_pMapping = nullptr
 Valid only during the synchronous reset notification. Enables property maps to follow compaction.

Detailed Description

Handlers observe consistent topology. Before-removal handles are valid; after-removal handles are stale. Mutating the emitting graph from a handler or validator is rejected.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/Core/Graph/GraphEvents.h