#[non_exhaustive]pub struct EncodedPointCloudInfo {
pub encoding_method: i32,
pub bitstream_version: (u8, u8),
pub speed: i32,
pub num_encoded_points: usize,
pub attributes: Vec<EncodedAttributeInfo>,
}encoder only.Expand description
Encoder choices and attribute metadata from a successful point-cloud encode.
The counterpart of EncodedMeshInfo, and it exists for the same reason:
the encoder picks the KD-tree coder over the sequential one whenever every
attribute is eligible, and a caller had no way to find out which one ran.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.encoding_method: i32Numeric Draco point-cloud encoding method used: 0 sequential, 1 KD-tree.
bitstream_version: (u8, u8)Bitstream version written, after the default was substituted for an unset one.
speed: i32Speed the choices above were made at, after encoding_speed and
decoding_speed were resolved into one value.
num_encoded_points: usizeNumber of points encoded into the bitstream.
attributes: Vec<EncodedAttributeInfo>Per-attribute information captured during encoding. Empty for the KD-tree method, which encodes every attribute through one coder with no per-attribute choice to report.