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

#include <FrameCapture.hpp>

Public Attributes

u32 index = 0
u32 pass = 0
RenderStage stage = RenderStage::Transparent
RenderType type = RenderType::Sprite
BlendMode blend_mode = BlendMode::Normal
CapturePass pass_kind = CapturePass::Scene
u32 texture_id = 0
u32 material_id = 0
u32 shader_id = 0
u32 index_count = 0
u32 triangle_count = 0
u32 entity_count = 0
u32 entity_offset = 0
i32 layer = 0
BatchBreak break_reason = BatchBreak::RunStart
ScissorRect scissor
bool scissor_enabled = false
bool stencil_write = false
bool stencil_test = false
i32 stencil_ref = -1
u8 texture_slot_usage = 0
u32 instance_count = 0
u32 texture_offset = 0

Detailed Description

Definition at line 27 of file FrameCapture.hpp.

Member Data Documentation

◆ blend_mode

BlendMode esengine::DrawCallRecord::blend_mode = BlendMode::Normal

Definition at line 32 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ break_reason

BatchBreak esengine::DrawCallRecord::break_reason = BatchBreak::RunStart

Definition at line 42 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ entity_count

u32 esengine::DrawCallRecord::entity_count = 0

Definition at line 39 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ entity_offset

u32 esengine::DrawCallRecord::entity_offset = 0

Definition at line 40 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ index

u32 esengine::DrawCallRecord::index = 0

Definition at line 28 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ index_count

u32 esengine::DrawCallRecord::index_count = 0

Definition at line 37 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ instance_count

u32 esengine::DrawCallRecord::instance_count = 0

Definition at line 49 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ layer

i32 esengine::DrawCallRecord::layer = 0

Definition at line 41 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ material_id

u32 esengine::DrawCallRecord::material_id = 0

Definition at line 35 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ pass

u32 esengine::DrawCallRecord::pass = 0

◆ pass_kind

CapturePass esengine::DrawCallRecord::pass_kind = CapturePass::Scene

Definition at line 33 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ scissor

ScissorRect esengine::DrawCallRecord::scissor

Definition at line 43 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ scissor_enabled

bool esengine::DrawCallRecord::scissor_enabled = false

Definition at line 44 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ shader_id

u32 esengine::DrawCallRecord::shader_id = 0

Definition at line 36 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ stage

RenderStage esengine::DrawCallRecord::stage = RenderStage::Transparent

Definition at line 30 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ stencil_ref

i32 esengine::DrawCallRecord::stencil_ref = -1

Definition at line 47 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ stencil_test

bool esengine::DrawCallRecord::stencil_test = false

Definition at line 46 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ stencil_write

bool esengine::DrawCallRecord::stencil_write = false

Definition at line 45 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ texture_id

u32 esengine::DrawCallRecord::texture_id = 0

Definition at line 34 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ texture_offset

u32 esengine::DrawCallRecord::texture_offset = 0

Where this draw's bound textures start in the capture's texture list; texture_slot_usage of them.

Definition at line 52 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ texture_slot_usage

u8 esengine::DrawCallRecord::texture_slot_usage = 0

Definition at line 48 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ triangle_count

u32 esengine::DrawCallRecord::triangle_count = 0

Definition at line 38 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().

◆ type

RenderType esengine::DrawCallRecord::type = RenderType::Sprite

Definition at line 31 of file FrameCapture.hpp.

Referenced by esengine::FrameCapture::record().


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