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

The sorting identity a SortingGroup imposes on one of its members. More...

#include <DrawList.hpp>

Public Attributes

i32 layer = 0
 What the whole group presents outward — the key's top two fields.
i32 order = 0
bool blockOrder = false
i32 block = 0

Detailed Description

The sorting identity a SortingGroup imposes on one of its members.

Definition at line 256 of file DrawList.hpp.

Member Data Documentation

◆ block

i32 esengine::DrawList::GroupIdentity::block = 0

Definition at line 264 of file DrawList.hpp.

Referenced by esengine::pushBatchDraw().

◆ blockOrder

bool esengine::DrawList::GroupIdentity::blockOrder = false

Set when an INNER group stands between this draw and the outer one: the inner group is one block inside the outer, so every draw under it shares the inner group's order and stops separating by its own.

Definition at line 263 of file DrawList.hpp.

Referenced by esengine::pushBatchDraw().

◆ layer

i32 esengine::DrawList::GroupIdentity::layer = 0

What the whole group presents outward — the key's top two fields.

Definition at line 258 of file DrawList.hpp.

◆ order

i32 esengine::DrawList::GroupIdentity::order = 0

Definition at line 259 of file DrawList.hpp.


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