@babylonjs/viewer
Version:
The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.
3 lines (2 loc) • 466 B
JavaScript
import{c as e}from"./skeleton-fragment-PDCP12cv.esm.min.js";import{aP as s,aQ as r}from"./index-B8IgtevW.esm.min.js";const t={id:"skeleton",phase:"vertex",frag:t=>t._meshFeatures&s?e(0!==(t._meshFeatures&r)):null,bind(e,r,t){const n=e._mesh;return e._meshFeatures&s&&n?.skeleton?(r.push({binding:t++,resource:n.skeleton.boneTexture.createView()}),t):t}};export{e as createSkeletonFragment,t as pbrExt};
//# sourceMappingURL=skeleton-fragment-CzcLG9oG.esm.min.js.map