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

#include <GraphAlgorithms.h>

Public Member Functions

 xiiGraphComponents (xiiAllocator *pAllocator=xiiDefaultAllocatorWrapper::GetAllocator())
xiiUInt32 GetCount () const
xiiArrayPtr< const xiiGraphVertexHandle > GetComponent (xiiUInt32 index) const
 Requires index < GetCount(). The returned view is invalidated by changes to this result.

Public Attributes

xiiDynamicArray< xiiGraphVertexHandle > m_Vertices
xiiDynamicArray< xiiUInt32 > m_Offsets

Detailed Description

Flat component output; offsets contains a leading zero and one past-the-end offset for each component. Component and vertex orders are deterministic for a fixed graph, but carry no semantic ordering guarantee.


The documentation for this struct was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Core/Graph/GraphAlgorithms.h
  • /home/runner/work/XII/XII/Source/Engine/Core/Graph/Implementation/GraphAlgorithms.cpp