mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 08:42:43 +08:00
14 lines
414 B
TypeScript
14 lines
414 B
TypeScript
import { IAssemblerManager } from '../../core/renderer/ui/base';
|
|
import { ArmatureDisplay } from '../ArmatureDisplay';
|
|
import { simple } from './simple';
|
|
|
|
// Inline all type switch to avoid jit deoptimization during inlined function change
|
|
|
|
export const simpleDragonBoneAssembler: IAssemblerManager = {
|
|
getAssembler () {
|
|
return simple;
|
|
},
|
|
};
|
|
|
|
ArmatureDisplay.Assembler = simpleDragonBoneAssembler;
|