Struct AttributeSpec

Struct Documentation

struct AttributeSpec

One attribute of a point: count scalars of type type.

A scalar field such as RANGE is {U32, 1}; a three-channel field such as RGB or NORMALS is {F32, 3}.

Public Members

AttributeType type = {AttributeType::F64}

Scalar type of every element.

std::uint32_t count = {1}

Number of scalars (>= 1).