Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::DrawList::SortIdentity Struct Reference

Where a draw sits in the frame's order, once any group has had its say. More...

#include <DrawList.hpp>

Public Member Functions

bool operator< (const SortIdentity &o) const
bool operator<= (const SortIdentity &o) const

Public Attributes

i32 layer = 0
i32 order = 0

Detailed Description

Where a draw sits in the frame's order, once any group has had its say.

Definition at line 282 of file DrawList.hpp.

Member Function Documentation

◆ operator<()

bool esengine::DrawList::SortIdentity::operator< ( const SortIdentity & o) const
inline

Definition at line 285 of file DrawList.hpp.

References layer, and order.

◆ operator<=()

bool esengine::DrawList::SortIdentity::operator<= ( const SortIdentity & o) const
inline

Definition at line 288 of file DrawList.hpp.

Member Data Documentation

◆ layer

i32 esengine::DrawList::SortIdentity::layer = 0

Definition at line 283 of file DrawList.hpp.

Referenced by operator<(), and esengine::pushBatchDraw().

◆ order

i32 esengine::DrawList::SortIdentity::order = 0

Definition at line 284 of file DrawList.hpp.

Referenced by operator<(), and esengine::pushBatchDraw().


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/draw/DrawList.hpp