Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

ResourceImporterShaderFile

继承: ResourceImporter < RefCounted < Object

将原生 GLSL 着色器(不是 Godot 着色器)导入为 RDShaderFile

描述

这会将原生 GLSL 着色器导入为 RDShaderFile 资源,以与低级 RenderingDevice 操作一起使用。该导入器处理 .gdshader 文件。