removed graph_module_manager/swapchain_mode from GPUDevice.

This commit is contained in:
hyzboy 2024-10-29 01:48:38 +08:00
parent ffc6f0a074
commit e99b669ef3
3 changed files with 5 additions and 6 deletions

View File

@ -24,10 +24,14 @@ constexpr size_t VK_DESCRIPTOR_TYPE_END_RANGE=VK_DESCRIPTOR_TYPE_INPUT_ATTACHMEN
constexpr size_t VK_DESCRIPTOR_TYPE_RANGE_SIZE=VK_DESCRIPTOR_TYPE_END_RANGE-VK_DESCRIPTOR_TYPE_BEGIN_RANGE+1; constexpr size_t VK_DESCRIPTOR_TYPE_RANGE_SIZE=VK_DESCRIPTOR_TYPE_END_RANGE-VK_DESCRIPTOR_TYPE_BEGIN_RANGE+1;
#endif//VK_DESCRIPTOR_TYPE_RANGE_SIZE #endif//VK_DESCRIPTOR_TYPE_RANGE_SIZE
class TextureManager;
class GraphModule; class GraphModule;
class RenderModule; class RenderModule;
class GraphModuleManager; class GraphModuleManager;
class SwapchainModule;
void RegistryCommonGraphModule(); void RegistryCommonGraphModule();
using BindingMap =Map<AnsiString,int>; using BindingMap =Map<AnsiString,int>;

View File

@ -31,12 +31,6 @@ struct CopyBufferToImageInfo;
class GPUDevice class GPUDevice
{ {
private: //module
GraphModuleManager *graph_module_manager;
SwapchainModule *swapchain_module;
private: private:
GPUDeviceAttribute *attr; GPUDeviceAttribute *attr;

View File

@ -37,6 +37,7 @@ SET(GEOMETRY_FILES ${SG_INCLUDE_PATH}/InlineGeometry.h
SOURCE_GROUP("Geometry" FILES ${GEOMETRY_FILES}) SOURCE_GROUP("Geometry" FILES ${GEOMETRY_FILES})
SET(LIGHT_FILES ${SG_INCLUDE_PATH}/Light.h SET(LIGHT_FILES ${SG_INCLUDE_PATH}/Light.h
${SG_INCLUDE_PATH}/LightCullMode.h
${SG_INCLUDE_PATH}/ShadowPolicy.h) ${SG_INCLUDE_PATH}/ShadowPolicy.h)
source_group("Light" FILES ${LIGHT_FILES}) source_group("Light" FILES ${LIGHT_FILES})