setJointsTexture method

void setJointsTexture(
  1. Texture? texture,
  2. int width
)

Hook for skinned geometries to receive the joints texture computed by Skin.getJointsTexture.

The default implementation does nothing; SkinnedGeometry overrides it to bind the texture in bind. The render passes call this right before each draw's bind, so a geometry shared between several skinned nodes carries the correct skeleton for every draw.

Implementation

void setJointsTexture(gpu.Texture? texture, int width) {}