Renderer · function

createSkinnedClothSet

Garments for renderer stepped together, from set-ups checked by name: one pass, one submit and one garment's dispatches a step on the device, whatever the count. They must agree on step, substeps, iterations and maxSteps, and are refused by the first they disagree on.

Explained in Hello world.

function createSkinnedClothSet(renderer: RendererApi, setups: readonly SkinnedClothSetup[]): SkinnedClothSet
import { createSkinnedClothSet } from '@driftengine/core';

Parameters

ParameterTypeDescription
rendererRendererApi
setupsreadonly SkinnedClothSetup[]