mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 17:42:41 +08:00
23de9188ba
* adjust api docs and delete useless annotation * delete useless annotation
16 lines
411 B
TypeScript
16 lines
411 B
TypeScript
|
|
|
|
import { IAssemblerManager } from '../../2d/renderer/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;
|