Struct DracoEncodeOptions

Struct Documentation

struct DracoEncodeOptions

Options for Draco point-cloud encoding.

Public Members

uint8_t quantization_bits = 12

Quantization bits for the position attribute; must be between 1 and kMaxQuantizationBits (30) inclusive. Out-of-range values are repaired, with a logged warning naming the channel: values above the maximum (which the reference Draco decoder rejects) are clamped to it, and 0 (lossless) provides no size reduction over the raw point cloud, so the channel is delivered unmodified — use PointCloudCompressionMode::Disabled to do that without the warning.

Public Static Attributes

static uint8_t kMaxQuantizationBits = 30

The maximum supported value for quantization_bits.