skinning
Enables GPU vertex skinning from a region of a SkinningBuffer.
Return
Builder reference for chaining calls.
Parameters
the SkinningBuffer to use
the number of bones to use (up to 256)
offset in the SkinningBuffer
Enables GPU vertex skinning for up to 255 bones with initial bone transforms.
Skinning Buffer mode must be disabled. Each vertex can be affected by up to 4 bones simultaneously. The attached VertexBuffer must provide data in the BONE_INDICES slot (uvec4) and the BONE_WEIGHTS slot (float4).
Return
Builder reference for chaining calls.
Parameters
the number of bone transforms (up to 255)
the initial 4x4 transforms, 16 floats per bone
Enables GPU vertex skinning for up to 255 bones with initial bone transforms.
Return
Builder reference for chaining calls.
Parameters
the number of bone transforms (up to 255)
the initial set of transforms (one for each bone)
Enables GPU vertex skinning for up to 255 bones, 0 by default.
Return
Builder reference for chaining calls.
Parameters
0 to disable, otherwise the number of bone transforms (up to 255)