Expand description
Byte-level helpers for Vulkan data: SPIR-V alignment and raw struct access.
Enums§
- Bytecode
Error - Error returned when SPIR-V bytecode has invalid alignment or size.
Functions§
- as_
bytes ⚠ - Reinterprets a reference to a
Copytype as a byte slice. - cast_
to_ u32 - Cast a byte slice to a
u32slice forShaderModuleCreateInfo.