SlangBlob

Inherits: RefCounted

Description

A raw buffer and optional diagnostic returned from the Slang compilation API.

Properties

PackedByteArray

buffer

PackedByteArray()

String

diagnostic

""


Property Descriptions

PackedByteArray buffer = PackedByteArray() 🔗

  • void set_buffer(value: PackedByteArray)

  • PackedByteArray get_buffer()

The raw data in this blob.

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


String diagnostic = "" 🔗

  • void set_diagnostic(value: String)

  • String get_diagnostic()

The diagnostic associated with creating this blob.