#pragma once namespace swrenderer { struct DrawSegment; class VisibleSprite; class VisibleSpriteList { public: void Clear(); void PushPortal(); void PopPortal(); void Push(VisibleSprite *sprite, bool isVoxel = false); void Sort(); TArray SortedSprites; private: TArray Sprites; TArray StartIndices; bool DrewAVoxel = false; }; }