SpiecsEngine
 
Loading...
Searching...
No Matches
WhittedRTWorld.cpp
Go to the documentation of this file.
2#include <World/Entity.h>
3#include <Resources/Loader/MaterialLoader.h>
4#include <GamePlay/MeshController.h>
5#include <Resources/ResourcePool/ResourcePool.h>
6#include <GamePlay/CameraController.h>
7#include <Systems/ResourceSystem.h>
8#include <Extensions/Gltf/GltfCollection.h>
9
10namespace Spices {
11
13 {
15
16 ResourceSystem::RegistryResourceFolder(SPICES_GAME_ASSETS_PATH);
17
19
20 {
21 auto collection = std::make_shared<GltfCollection>("G:/Vulkan/ExtensionAssets/BistroExterior/BistroExterior.gltf");
22 collection->CreateEntity(this, "BistroExterior");
23 }
24 }
25
27 {
29
31 }
32
34 {
36
38 }
39
40}
#define SPICES_PROFILE_ZONE
virtual void OnPreActivate() override
This interface define the specific world behave before on activated.
virtual void OnDeactivate() override
This interface defines the specific world behave after on activated.
virtual void OnActivate(TimeStep &ts) override
This interface define the specific world behave on activated.
EditorWorld Class. This class defines the specific behave of EditorWorld.
Definition EditorWorld.h:18
Wrapper of Gltf file data.
This Class handles our engine time step during frames. Global Unique.
Definition TimeStep.h:22
virtual void OnDeactivate() override
This interface defines the specific world behave after on activated.
virtual void OnActivate(TimeStep &ts) override
This interface define the specific world behave on activated.
virtual void OnPreActivate() override
This interface define the specific world behave before on activated.