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

#include <RenderItem.hpp>

Public Member Functions

bool operator== (const ScissorRect &o) const
bool operator!= (const ScissorRect &o) const

Public Attributes

i32 x = 0
i32 y = 0
i32 w = 0
i32 h = 0

Detailed Description

Definition at line 9 of file RenderItem.hpp.

Member Function Documentation

◆ operator!=()

bool esengine::ScissorRect::operator!= ( const ScissorRect & o) const
inline

Definition at line 14 of file RenderItem.hpp.

◆ operator==()

bool esengine::ScissorRect::operator== ( const ScissorRect & o) const
inline

Definition at line 11 of file RenderItem.hpp.

References h, w, x, and y.

Member Data Documentation

◆ h

i32 esengine::ScissorRect::h = 0

Definition at line 10 of file RenderItem.hpp.

Referenced by operator==().

◆ w

i32 esengine::ScissorRect::w = 0

Definition at line 10 of file RenderItem.hpp.

Referenced by operator==().

◆ x

i32 esengine::ScissorRect::x = 0

Definition at line 10 of file RenderItem.hpp.

Referenced by operator==().

◆ y

i32 esengine::ScissorRect::y = 0

Definition at line 10 of file RenderItem.hpp.

Referenced by operator==().


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