Outdated documentation
This documentation page refers to Godot
4.3,
and may be outdated or incorrect.
Additionally, this engine version is
no longer supported.
Check this page in the stable branch for the latest additions and corrections.
ResourceImporterShaderFile
Inherits: ResourceImporter < RefCounted < Object
Imports native GLSL shaders (not Godot shaders) as a RDShaderFile.
Description
This imports native GLSL shaders as RDShaderFile resources, for use with low-level RenderingDevice operations. This importer does not handle .gdshader files.