Up to date

This page is up to date for Blazium 0.4.90 (4.3). If you still find outdated information, please open an issue.

ShaderIncludeDB๏ƒ

Inherits: Object

Internal database of built in shader include files.

Description๏ƒ

This object contains shader fragments from Godot's internal shaders. These can be used when access to internal uniform buffers and/or internal functions is required for instance when composing compositor effects or compute shaders. Only fragments for the current rendering device are loaded.

Methods๏ƒ

String

get_built_in_include_file(filename: String) static

bool

has_built_in_include_file(filename: String) static

PackedStringArray

list_built_in_include_files() static


Method Descriptions๏ƒ

String get_built_in_include_file(filename: String) static ๐Ÿ”—

Returns the code for the built-in shader fragment. You can also access this in your shader code through #include "filename".


bool has_built_in_include_file(filename: String) static ๐Ÿ”—

Returns true if an include file with this name exists.


PackedStringArray list_built_in_include_files() static ๐Ÿ”—

Returns a list of built-in include files that are currently registered.