kMaxId constant

int const kMaxId

The maximum supported value for an id.

The codec does not support encoding more than this many paths, paints, or shaders in a single buffer.

Vertices are written inline and not subject to this constraint.

Implementation

static const int kMaxId = 65535;