Skip to content

格式

c++
#pragma once

描述

执行了该命令表示当前 着色器(shader)作为 头文件(Header File)被引入后,仅会被展开一次。通常在头文件中使用。

代码示例

c++
#pragma once