3#include <Foundation/Threading/TaskSystem.h>
4#include <ProcGenPlugin/Declarations.h>
8 EmptyTileIndex = plInvalidIndex,
9 NewTileIndex = EmptyTileIndex - 1
14namespace plProcGenInternal
22 void AddCameraPosition(
const plVec3& vCameraPosition) { m_CameraPositions.PushBack(vCameraPosition); }
28 virtual void Execute()
override;
31 plUInt32 m_uiOutputIndex = 0;
40 PL_DECLARE_POD_TYPE();
43 plUInt64 m_uiLastSeenFrame;
49 PL_ALWAYS_INLINE plUInt64 GetTileKey(plInt32 x, plInt32 y)
51 plUInt64 sx = (plUInt32)x;
52 plUInt64 sy = (plUInt32)y;
54 return (sx << 32) | sy;
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
Definition DynamicArray.h:81
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Definition FindPlacementTilesTask.h:17
virtual void Execute() override
Override this to implement the task's supposed functionality.
Definition FindPlacementTilesTask.cpp:25
Definition ProcPlacementComponent.h:112
Base class for custom tasks.
Definition Task.h:10