9#ifndef AVARA3D_RENDER_GATHEROUTPUT_H
10#define AVARA3D_RENDER_GATHEROUTPUT_H
17#include "a3d/mesh/AABB.h"
18#include "a3d/mesh/Line.h"
19#include "a3d/visual/Ground.h"
33 enum class RenderStyle : uint8_t {
41 VertexLayout layout = VertexLayout::None;
42 uint32_t elementIndex = 0;
43 MeshElement* element =
nullptr;
44 Material* material =
nullptr;
45 math::vec4 tint = math::vec4(0.0f);
46 RenderStyle style = RenderStyle::Normal;
47 math::mat4 model = math::mat4(1.0f);
51 bool transparent =
false;
55 std::vector<RenderItem> renderItems = {};
56 const Scene* scene =
nullptr;
57 std::shared_ptr<Material> backgroundMaterial =
nullptr;
58 math::quat backgroundOrientation = math::quat(1.0f);
59 std::optional<Ground> ground = {};
60 std::vector<Node*> lightNodes = {};
61 std::vector<Line> debugLines = {};
static AABB Zero()
Returns a zero-size box at the origin.