Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
DrawCommand.hpp File Reference
#include "../store/ProbeConstants.hpp"
#include "../store/PlanarConstants.hpp"
#include "../../core/Types.hpp"
#include "../frame/RenderStage.hpp"
#include "./RenderItem.hpp"
#include "./BlendMode.hpp"
#include "../rhi/TransientBufferPool.hpp"
#include "../rhi/PipelineState.hpp"
#include <algorithm>
#include <bit>
#include <cstring>
Include dependency graph for DrawCommand.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esengine::DrawCommand

Namespaces

namespace  esengine

Enumerations

enum class  esengine::BatchBreak : u8 {
  esengine::None = 0 , esengine::RunStart , esengine::Instanced , esengine::Shader ,
  esengine::Blend , esengine::Layout , esengine::Material , esengine::Depth ,
  esengine::Cull , esengine::State , esengine::Scissor , esengine::Stencil ,
  esengine::IndexGap , esengine::TextureSlots , esengine::Count
}

Functions

GfxStencilMode esengine::stencilModeOf (u16 stateFlags)
 The stencil mode a draw's state flags mean.
const char * esengine::batchBreakCounter (BatchBreak r)

Variables

static constexpr u32 esengine::MAX_CMD_TEXTURE_SLOTS = 8
static constexpr u16 esengine::CMD_STATE_SCISSOR = 0x01
static constexpr u16 esengine::CMD_STATE_STENCIL_WRITE = 0x02
static constexpr u16 esengine::CMD_STATE_UI_STENCIL = 0x20
static constexpr u16 esengine::CMD_STATE_STENCIL_INCREMENT = 0x40
static constexpr u16 esengine::CMD_STATE_STENCIL_DECREMENT = 0x80
static constexpr u16 esengine::CMD_STATE_STENCIL_ZERO = 0x100
static constexpr u16 esengine::CMD_STATE_STENCIL_TEST = 0x04
static constexpr u16 esengine::CMD_STATE_CUSTOM_DRAW = 0x08
static constexpr u16 esengine::CMD_STATE_STENCIL_OUT = 0x10