setWGSLScriptSource abstract method
Set a WGSL shader source. Same as setScriptSource but marks the script as WGSL so the workspace uses naga for validation/highlighting/formatting instead of Luau.
Implementation
Future<HighlightResult> setWGSLScriptSource(
String scriptId,
String scriptName,
String source, {
bool highlight = false,
});