plumageRender/noteForDevelop.md

70 lines
1.2 KiB
Markdown
Raw Normal View History

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