NcEngine
EngineId.h
1
5#pragma once
6
7#include <cstddef>
8
9namespace nc
10{
12constexpr size_t EngineIdRangeBegin = 1ull;
13
15constexpr size_t EngineIdRangeEnd = 100ull;
16
19constexpr size_t TagId = 1ull;
20constexpr size_t TransformId = 2ull;
21constexpr size_t StaticMeshId = 3ull;
22constexpr size_t SkinnedMeshId = 4ull;
23constexpr size_t PointLightId = 5ull;
24constexpr size_t SpotLightId = 6ull;
25constexpr size_t DirectionalLightId = 7ull;
26constexpr size_t ParticleEmitterId = 8ull;
27constexpr size_t RigidBodyId = 9ull;
28constexpr size_t AudioSourceId = 10ull;
29constexpr size_t FrameLogicId = 11ull;
30constexpr size_t CollisionListenerId = 12ull;
31constexpr size_t WireframeRendererId = 13ull;
32constexpr size_t HierarchyId = 14ull;
37constexpr size_t NcAssetId = 1ull;
38constexpr size_t NcAudioId = 2ull;
39constexpr size_t NcEcsId = 3ull;
40constexpr size_t NcGraphicsId = 4ull;
41constexpr size_t NcPhysicsId = 5ull;
42constexpr size_t NcTimeId = 6ull;
43constexpr size_t NcRandomId = 7ull;
44constexpr size_t NcSceneId = 8ull;
45constexpr size_t NcWindowId = 9ull;
48namespace update_task_id
49{
51constexpr size_t DebugRendererNewFrame = 1ull;
52constexpr size_t FrameLogicUpdate = 2ull; // Depends on DebugRendererNewFrame
53constexpr size_t CommitStagedChanges = 3ull; // Depends on FrameLogicUpdate
54constexpr size_t ParticleEmitterUpdate = 4ull; // Depends on CommitStagedChanges
55constexpr size_t SkeletalAnimationUpdate = 5ull; // Depends on CommitStagedChanges
56constexpr size_t AudioSourceUpdate = 6ull; // Depends on CommitStagedChanges
57constexpr size_t PhysicsPipeline = 7ull; // Depends on CommitStagedChanges
58constexpr size_t UpdateTransforms = 8ull; // Depends on physics, audio, and particle update
60} // namespace update_task_id
61
62namespace render_task_id
63{
65constexpr size_t Render = 50ull;
67} // namespace render_task_id
68} // namespace nc