SlangShaderImporter

Inherits: EditorImportPlugin

Description

Enables importing shaders written in Slang.

Properties

int

default_matrix_layout

1

PackedStringArray

entry_points

PackedStringArray()


Property Descriptions

int default_matrix_layout = 1 🔗

The layout used by matrices within this shader.


PackedStringArray entry_points = PackedStringArray() 🔗

Entry-points to compile (not needed for entry-points marked with a [shader("compute")] attribute).

Note: The returned array is copied and any changes to it will not update the original property value. See PackedStringArray for more details.