mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-06 09:20:51 +00:00
24 lines
406 B
C++
24 lines
406 B
C++
#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<VisibleSprite *> SortedSprites;
|
|
|
|
private:
|
|
TArray<VisibleSprite *> Sprites;
|
|
TArray<unsigned int> StartIndices;
|
|
bool DrewAVoxel = false;
|
|
};
|
|
}
|