primitive property

GpuPrimitive get primitive

What is drawn. A shape whose sizes change is given another.

Implementation

GpuPrimitive get primitive => _primitive;
set primitive (GpuPrimitive value)

Implementation

set primitive(GpuPrimitive value) {
  if (identical(value, _primitive)) return;
  _primitive = value;
  _boundsStale = true;
}