Reorganize includes

This commit is contained in:
Dynamitos
2026-03-14 13:53:04 +01:00
parent df5b2b6795
commit cd0f6d038f
13 changed files with 14 additions and 9 deletions
+1 -4
View File
@@ -6,10 +6,7 @@
#include "Asset/MeshLoader.h"
#include "Asset/TextureLoader.h"
#include "Graphics/Initializer.h"
#ifdef __APPLE__
#include "Graphics/Metal/Graphics.h"
#else
#endif
#include "Material/Material.h"
#include "Graphics/StaticMeshVertexData.h"
#include "Graphics/Vulkan/Graphics.h"
#include "Window/PlayView.h"
@@ -1,6 +1,7 @@
#pragma once
#include "RenderPass.h"
#include "Graphics/Query.h"
#include "Scene/Scene.h"
namespace Seele {
class CachedDepthPass : public RenderPass {
@@ -3,6 +3,7 @@
#include "Graphics/Query.h"
#include "MinimalEngine.h"
#include "RenderPass.h"
#include "Scene/Scene.h"
namespace Seele {
class DepthCullingPass : public RenderPass {
@@ -5,6 +5,8 @@
#include "Graphics/Shader.h"
#include "Graphics/StaticMeshVertexData.h"
#include "RenderPass.h"
#include "Material/Material.h"
#include "Material/MaterialInstance.h"
using namespace Seele;
@@ -1,6 +1,7 @@
#pragma once
#include "Graphics/Graphics.h"
#include "RenderPass.h"
#include "Scene/Scene.h"
namespace Seele {
class RayTracingPass : public RenderPass {
@@ -1,4 +1,5 @@
#include "RenderPass.h"
#include "Graphics/Graphics.h"
using namespace Seele;
+1 -4
View File
@@ -1,12 +1,9 @@
#pragma once
#include "Component/Camera.h"
#include "Graphics/VertexData.h"
#include "Material/MaterialInstance.h"
#include "Math/Math.h"
#include "MinimalEngine.h"
#include "RenderGraphResources.h"
#include "Scene/Scene.h"
#include "Graphics/Descriptor.h"
namespace Seele {
DECLARE_NAME_REF(Gfx, Viewport)
@@ -1,6 +1,7 @@
#pragma once
#include "Graphics/Buffer.h"
#include "Graphics/Descriptor.h"
#include "Scene/Scene.h"
#include "RenderPass.h"
namespace Seele {
@@ -1,4 +1,5 @@
#include "ToneMappingPass.h"
#include "Graphics/Graphics.h"
using namespace Seele;
@@ -1,5 +1,6 @@
#include "VisibilityPass.h"
#include "Graphics/Shader.h"
#include "Graphics/Graphics.h"
using namespace Seele;
@@ -3,6 +3,7 @@
#include "Component/WaterTile.h"
#include "Graphics/Graphics.h"
#include "Graphics/Shader.h"
#include "Asset/TextureAsset.h"
using namespace Seele;
@@ -1,5 +1,6 @@
#pragma once
#include "RenderPass.h"
#include "Scene/Scene.h"
namespace Seele {
class WaterRenderer {
+1 -1
View File
@@ -85,7 +85,7 @@ void Seele::beginCompilation(const ShaderCompilationInfo& info, SlangCompileTarg
targetDesc.flags = SLANG_TARGET_FLAG_GENERATE_SPIRV_DIRECTLY;
sessionDesc.targetCount = 1;
sessionDesc.targets = &targetDesc;
StaticArray<const char*, 6> searchPaths = {"shaders/", "shaders/lib/", "shaders/raytracing/", "shaders/terrain", "shaders/game", "shaders/generated/"};
StaticArray<const char*, 7> searchPaths = {"shaders/", "shaders/lib/", "shaders/raytracing/", "shaders/terrain", "shaders/game", "shaders/generated/", "Seele/shaders/lib/"};
sessionDesc.searchPaths = searchPaths.data();
sessionDesc.searchPathCount = searchPaths.size();