Module utilities

Source

Structs§

VertexDataAdapter

Functions§

any_as_u8_slice
convert_indices_16_to_32
convert_indices_32_to_16
dequantize_half
Reverse quantization of a half-precision (as defined by IEEE-754 fp16) floating point value
quantize_float
Quantize a float into a floating point value with a limited number of significant mantissa bits.
quantize_half
Quantize a float into half-precision floating point value.
quantize_snorm
Quantize a float in [-1..1] range into an N-bit fixed point snorm value.
quantize_unorm
Quantize a float in [0..1] range into an N-bit fixed point unorm value.
rcp_safe
typed_to_bytes