Module meshopt::utilities[][src]

Structs

VertexDataAdapter

Functions

any_as_u8_slice
convert_indices_16_to_32
convert_indices_32_to_16
quantize_float

Quantize a float into a floating point value with a limited number of significant mantissa bits. Generates +-inf for overflow, preserves NaN, flushes denormals to zero, rounds to nearest. Assumes N is in a valid mantissa precision range, which is 1..23

quantize_half

Quantize a float into half-precision floating point value. Generates +-inf for overflow, preserves NaN, flushes denormals to zero, rounds to nearest. Representable magnitude range: [6e-5; 65504]. Maximum relative reconstruction error: 5e-4.

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