plumageRender/noteForDevelop.md

39 lines
634 B
Markdown

避免重复引入
``` 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 _UI_HPP
#include "ui.hpp"
#define _UI_HPP
#endif // !UI_HPP
#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
```