computeBoneTexture method

Skeleton computeBoneTexture()

Implementation

Skeleton computeBoneTexture() {
  boneTexture = DataTexture(boneMatrices, boneTextureSize, boneTextureSize, RGBAFormat, FloatType);

  boneTexture!.name = "DataTexture from Skeleton.computeBoneTexture";
  boneTexture!.needsUpdate = true;

  // Android Float Texture need NearestFilter
  boneTexture!.magFilter = NearestFilter;
  boneTexture!.minFilter = NearestFilter;

  return this;
}