This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
+33
View File
@@ -0,0 +1,33 @@
#ifndef RenderQueue_h__
#define RenderQueue_h__
#include <vector>
#include <queue>
#include "IGraphicsNode.h"
namespace LifeGraphics
{
class RenderQueue
{
private:
std::queue<IGraphicsNode*> container;
public:
RenderQueue(){}
~RenderQueue(){}
int count()
{
return container.size();
}
void push(IGraphicsNode* node)
{
container.push(node);
}
void pop()
{
return container.pop();
}
IGraphicsNode* getCurrent()
{
return container.back();
}
};
}
#endif // RenderQueue_h__