A WGPUStringView for a Jai string, to pass where the C API wants text. It borrows the string's bytes.
view := to_string_view("compute");
assert(view.length == 7);to_string_view :: (s: string) -> WGPUStringView
Parameters
- s: string
A WGPUStringView for a Jai string, to pass where the C API wants text. It borrows the string's bytes.
view := to_string_view("compute");
assert(view.length == 7);to_string_view :: (s: string) -> WGPUStringView