Up to date
This page is up to date for Godot 4.3.
If you still find outdated information, please open an issue.
ResourceImporterShaderFile
继承: ResourceImporter < RefCounted < Object
将原生 GLSL 着色器(不是 Godot 着色器)导入为 RDShaderFile。
描述
这会将原生 GLSL 着色器导入为 RDShaderFile 资源,以与低级 RenderingDevice 操作一起使用。该导入器不处理 .gdshader 文件。