WebGPU module

to_string

procedureextensionexperimentalSource

A string for a view the implementation wrote (an adapter name, an error message). It borrows the view's bytes.

Example↗
view := to_string_view("hello");
assert(to_string(view) == "hello");
to_string :: (view: WGPUStringView) -> string

Parameters

Returns

string

See also