spirv_
tools
0.11.0
Module binary
Module Items
Enums
Functions
In crate spirv_
tools
spirv_tools
Module
binary
Copy item path
Source
Enums
§
Binary
Functions
§
from_
binary
Transmutes a SPIRV binary, which are stored as 32 bit words, into a more digestible byte array
to_
binary
Transmutes a regular byte array into a SPIRV binary of 32 bit words. Fails if the input is not
input.as_ptr() % 4
and
input.len() % 4
.