|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <ClipState.hpp>
Classes | |
| struct | Entry |
Public Member Functions | |
| void | setScissor (u32 entity, i32 x, i32 y, i32 w, i32 h) |
| void | setStencilMask (u32 entity, i32 refValue) |
| void | setUIStencilMask (u32 entity, i32 depth) |
| void | setUIStencilTest (u32 entity, i32 depth) |
| bool | reserveSpriteStencilReferences (i32 count) |
| bool | isStencilMask (Entity entity) const |
| void | setStencilTest (u32 entity, i32 refValue) |
| void | setStencilTestOutside (u32 entity, i32 refValue) |
| Drawn only where the mask is NOT — the hole, rather than the window. | |
| void | applyTo (Entity entity, DrawCommand &cmd) const |
| bool | hasEntry (u32 entity) const |
| const Entry * | getEntry (u32 entity) const |
| bool | isEmptyScissor (Entity entity) const |
| void | clear () |
| bool | empty () const |
Definition at line 13 of file ClipState.hpp.
|
inline |
Definition at line 84 of file ClipState.hpp.
References esengine::Entity::id(), esengine::DrawCommand::scissor, esengine::DrawCommand::state_flags, esengine::DrawCommand::stencil_depth, and esengine::DrawCommand::stencil_ref.
Referenced by esengine::pushBatchDraw().
|
inline |
Definition at line 110 of file ClipState.hpp.
|
inline |
Definition at line 111 of file ClipState.hpp.
Definition at line 98 of file ClipState.hpp.
Referenced by isEmptyScissor().
|
inline |
Definition at line 94 of file ClipState.hpp.
|
inline |
Definition at line 103 of file ClipState.hpp.
References esengine::CMD_STATE_SCISSOR, getEntry(), and esengine::Entity::id().
Referenced by esengine::batchEntityVisible(), and esengine::pushBatchDraw().
|
inline |
Definition at line 62 of file ClipState.hpp.
References esengine::CMD_STATE_STENCIL_WRITE, and esengine::Entity::id().
|
inline |
Definition at line 48 of file ClipState.hpp.
References esengine::CMD_STATE_SCISSOR, and esengine::CMD_STATE_UI_STENCIL.
Definition at line 22 of file ClipState.hpp.
References esengine::CMD_STATE_SCISSOR.
Definition at line 28 of file ClipState.hpp.
References esengine::CMD_STATE_STENCIL_OUT, esengine::CMD_STATE_STENCIL_TEST, esengine::CMD_STATE_STENCIL_WRITE, and esengine::CMD_STATE_UI_STENCIL.
Referenced by setUIStencilMask().
Definition at line 67 of file ClipState.hpp.
References esengine::CMD_STATE_STENCIL_OUT, esengine::CMD_STATE_STENCIL_TEST, esengine::CMD_STATE_STENCIL_WRITE, and esengine::CMD_STATE_UI_STENCIL.
Referenced by setUIStencilTest().
Drawn only where the mask is NOT — the hole, rather than the window.
Definition at line 76 of file ClipState.hpp.
References esengine::CMD_STATE_STENCIL_OUT, esengine::CMD_STATE_STENCIL_TEST, esengine::CMD_STATE_STENCIL_WRITE, and esengine::CMD_STATE_UI_STENCIL.
Definition at line 36 of file ClipState.hpp.
References esengine::CMD_STATE_UI_STENCIL, and setStencilMask().
Definition at line 42 of file ClipState.hpp.
References esengine::CMD_STATE_UI_STENCIL, and setStencilTest().