pub const MAX_JOINTS: usize = 256;
Expand description
Maximum number of joints supported for skinned meshes.
It is used to allocate buffers. The correctness of the value depends on the GPU/platform. The current value is chosen because it is guaranteed to work everywhere. To allow for bigger values, a check must be made for the limits of the GPU at runtime, which would mean not using consts anymore.