Skip to main content

InstanceRenderBatchContext.ixx File

Context payload that groups instance data for one instanced draw batch. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine
namespacescene
namespacetypes

Classes Index

structInstanceRenderBatchContext<TMemberHandle>

Aggregates all state required to submit one instanced render batch. More...

Description

Context payload that groups instance data for one instanced draw batch.

File Listing

The file content with the documentation metadata removed is:

1
6module;
7
8#include <vector>
10
11export module helios.engine.scene.types.InstanceRenderBatchContext;
12
13import helios.ecs.types.EntityHandle;
14import helios.engine.scene.types.SceneHandle;
15import helios.engine.rendering.mesh.types;
16import helios.engine.rendering.material.types;
17import helios.engine.rendering.shader.types;
18import helios.engine.rendering.common.types;
19import helios.engine.rendering.viewport.types;
20import helios.engine.rendering.renderTarget.types;
21import helios.math.types;
22
23using namespace helios::ecs::types;
30using namespace helios::engine::scene;
31
32export namespace helios::engine::scene::types {
33
39 template<typename TMemberHandle>
41
46
51
56
61
66
71
75 std::vector<TMemberHandle> memberHandles;
76
80 std::vector<InstanceData<TMemberHandle>> instanceData;
81
107 }
108 };
109
110}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.