Moving GpuResourceManager.
This commit is contained in:
parent
b902d08ece
commit
0d5af2b525
|
|
@ -6,7 +6,9 @@ add_library(util_helper STATIC
|
|||
helpers.h
|
||||
helpers.cpp
|
||||
frame.cpp
|
||||
frame.h)
|
||||
frame.h
|
||||
gpu_resource_manager.cpp
|
||||
gpu_resource_manager.h)
|
||||
|
||||
target_link_libraries(util_helper PRIVATE aster_core)
|
||||
target_include_directories(util_helper PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// =============================================
|
||||
// Aster: pipeline_utils.h
|
||||
// Aster: gpu_resource_manager.cpp
|
||||
// Copyright (c) 2020-2024 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "render_resource_manager.h"
|
||||
#include "gpu_resource_manager.h"
|
||||
|
||||
#include "buffer.h"
|
||||
#include "device.h"
|
||||
|
|
@ -1,20 +1,18 @@
|
|||
// =============================================
|
||||
// Aster: pipeline_utils.h
|
||||
// Aster: gpu_resource_manager.h
|
||||
// Copyright (c) 2020-2024 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "global.h"
|
||||
#include "buffer.h"
|
||||
#include "image.h"
|
||||
|
||||
#include <EASTL/deque.h>
|
||||
#include <EASTL/vector_map.h>
|
||||
|
||||
struct Device;
|
||||
struct Texture;
|
||||
struct UniformStorageBuffer;
|
||||
struct StorageBuffer;
|
||||
|
||||
struct GpuResourceHandle
|
||||
{
|
||||
|
|
@ -8,8 +8,6 @@ find_path(TINYGLTF_INCLUDE_DIRS "tiny_gltf.h")
|
|||
add_executable(model_render model_render.cpp
|
||||
pipeline_utils.cpp
|
||||
pipeline_utils.h
|
||||
render_resource_manager.cpp
|
||||
render_resource_manager.h
|
||||
model_loader.cpp
|
||||
model_loader.h
|
||||
light_manager.cpp
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "light_manager.h"
|
||||
|
||||
#include "buffer.h"
|
||||
#include "glm/ext/matrix_transform.hpp"
|
||||
|
||||
struct Light
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#include "global.h"
|
||||
|
||||
// TODO: Separate files so you only import handles.
|
||||
#include "render_resource_manager.h"
|
||||
#include "gpu_resource_manager.h"
|
||||
|
||||
struct DirectionalLight
|
||||
{
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
#include "device.h"
|
||||
#include "helpers.h"
|
||||
#include "image.h"
|
||||
#include "render_resource_manager.h"
|
||||
#include "gpu_resource_manager.h"
|
||||
|
||||
#include <glm/gtc/type_ptr.hpp>
|
||||
#include <EASTL/array.h>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#include "buffer.h"
|
||||
#include "global.h"
|
||||
|
||||
#include "render_resource_manager.h"
|
||||
#include "gpu_resource_manager.h"
|
||||
#include "nodes.h"
|
||||
|
||||
#include <tiny_gltf.h>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "model_loader.h"
|
||||
#include "pipeline_utils.h"
|
||||
#include "render_resource_manager.h"
|
||||
#include "gpu_resource_manager.h"
|
||||
|
||||
#include <EASTL/array.h>
|
||||
#include <stb_image.h>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "device.h"
|
||||
#include "helpers.h"
|
||||
#include "render_resource_manager.h"
|
||||
#include "gpu_resource_manager.h"
|
||||
#include "swapchain.h"
|
||||
|
||||
#include <EASTL/array.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue