kMaxGpuMorphTargets top-level constant Geometry

int const kMaxGpuMorphTargets

The number of morph targets the GPU blend path evaluates per draw.

A geometry may carry more targets than this; each frame the engine picks the kMaxGpuMorphTargets nonzero weights with the largest magnitude and uploads only those.

Implementation

const int kMaxGpuMorphTargets = 8;