Constant MAX_USAGE_COUNT

Source
pub const MAX_USAGE_COUNT: u8 = 8;
Expand description

A reasonable upper-bound for the maximum number of render or capture usages. Use this value in FIDL APIs (e.g. for max vector size), instead of RENDER_USAGE2_COUNT or CAPTURE_USAGE2_COUNT directly. This way, an increase in these consts will not cause an ABI-breaking change.