避免重复引入 ``` C++ #ifndef _GLTFMODEL_H #include "glTFModel.h" #define _GLTFMODEL_H #endif // !GLTFMODEL_H #ifndef _RENDERSETTER_H #include "renderSetter.h" #define _RENDERSETTER_H #endif // !RENDERSETTER_H #ifndef _VULKANFOUNDATION_H #include "vulkanFoundation.h" #define _VULKANFOUNDATION_H #endif // !VULKANFOUNDATION_H #ifndef _RENDERGUI_H #include "renderUI.h" #define _RENDERGUI_H #endif // !_RENDERGUI_H #ifndef _PBR_H #include "PBR.h" #define _PBR_H #endif // !PBR_H #ifndef _RENDER_H #include "render.h" #define _RENDER_H #endif // !RENDER_H #ifndef _RENDERIO_H #include "renderIO.h" #define _RENDERIO_H #endif // !RENDERIO_H #ifndef _UI_HPP #include "ui.hpp" #define _UI_HPP #endif // !UI_HPP #ifndef _VULKANDEVICE_HPP #include "VulkanDevice.hpp" #define _VULKANDEVICE_HPP #endif // !_VULKANDEVICE_HPP #ifndef _CAMERA_HPP #include "camera.hpp" #define _CAMERA_HPP #endif // !_CAMERA_HPP #ifndef _VULKANTEXTURE_HPP #include "VulkanTexture.hpp" #define _VULKANTEXTURE_HPP #endif // !_VULKANTEXTURE_HPP #ifndef _VULKANUTILS_HPP #include "VulkanUtils.hpp" #define _VULKANUTILS_HPP #endif // !_VULKANUTILS_HPP #ifndef _TINY_GLTF_H #include "tiny_gltf.h" #define _TINY_GLTF_H #endif // !_TINY_GLTF_H ```