BASE_colorsCount static method

int BASE_colorsCount(
  1. int elementCount
)

Number of components in the colors buffer.

Implementation

static int BASE_colorsCount(int elementCount) => elementCount > 0 ? elementCount * 4 : 0;