Skip to main content

Module bytecode

Module bytecode 

Source
Expand description

Byte-level helpers for Vulkan data: SPIR-V alignment and raw struct access.

Enums§

BytecodeError
Error returned when SPIR-V bytecode has invalid alignment or size.

Functions§

as_bytes
Reinterprets a reference to a Copy type as a byte slice.
cast_to_u32
Cast a byte slice to a u32 slice for ShaderModuleCreateInfo.