plumageRender/noteForDevelop.md

1.2 KiB

避免重复引入

#ifndef _GLTFMODEL_H
#define _GLTFMODEL_H
#include "glTFModel.h"
#endif // !GLTFMODEL_H

#ifndef _RENDERSETTER_H
#define _RENDERSETTER_H
#include "renderSetter.h"
#endif // !RENDERSETTER_H

#ifndef _VULKANFOUNDATION_H
#define _VULKANFOUNDATION_H
#include "vulkanFoundation.h"
#endif // !VULKANFOUNDATION_H

#ifndef _RENDERGUI_H
#define _RENDERGUI_H
#include "renderUI.h"
#endif // !_RENDERGUI_H


#ifndef _PBR_H
#define _PBR_H
#include "PBR.h"
#endif // !PBR_H

#ifndef _RENDER_H
#define _RENDER_H
#include "render.h"
#endif // !RENDER_H

#ifndef _RENDERIO_H
#define _RENDERIO_H
#include "renderIO.h"
#endif // !RENDERIO_H

#ifndef _UI_HPP
#define _UI_HPP
#include "ui.hpp"
#endif // !UI_HPP

#ifndef _VULKANDEVICE_HPP
#define _VULKANDEVICE_HPP
#include "VulkanDevice.hpp"
#endif // !_VULKANDEVICE_HPP

#ifndef _CAMERA_HPP
#define _CAMERA_HPP
#include "camera.hpp"
#endif // !_CAMERA_HPP

#ifndef _VULKANTEXTURE_HPP
#define _VULKANTEXTURE_HPP
#include "VulkanTexture.hpp"
#endif // !_VULKANTEXTURE_HPP

#ifndef _VULKANUTILS_HPP
#define _VULKANUTILS_HPP
#include "VulkanUtils.hpp"
#endif // !_VULKANUTILS_HPP

#ifndef _TINY_GLTF_H
#define _TINY_GLTF_H
#include "tiny_gltf.h"
#endif // !_TINY_GLTF_H