laya-coreui-es
Version:
laya核心库、ui库es版本,剔除了媒体、TTF等功能。基于 LayaAir-release_2.12.0 修改
31 lines (30 loc) • 1.48 kB
TypeScript
export declare class PerformancePlugin {
static _enable: boolean;
static PERFORMANCE_LAYA: string;
static PERFORMANCE_LAYA_3D: string;
static PERFORMANCE_LAYA_2D: string;
static PERFORMANCE_LAYA_3D_PRERENDER: string;
static PERFORMANCE_LAYA_3D_UPDATESCRIPT: string;
static PERFORMANCE_LAYA_3D_PHYSICS: string;
static PERFORMANCE_LAYA_3D_PHYSICS_SIMULATE: string;
static PERFORMANCE_LAYA_3D_PHYSICS_CHARACTORCOLLISION: string;
static PERFORMANCE_LAYA_3D_PHYSICS_EVENTSCRIPTS: string;
static PERFORMANCE_LAYA_3D_RENDER: string;
static PERFORMANCE_LAYA_3D_RENDER_SHADOWMAP: string;
static PERFORMANCE_LAYA_3D_RENDER_CLUSTER: string;
static PERFORMANCE_LAYA_3D_RENDER_CULLING: string;
static PERFORMANCE_LAYA_3D_RENDER_RENDERDEPTHMDOE: string;
static PERFORMANCE_LAYA_3D_RENDER_RENDEROPAQUE: string;
static PERFORMANCE_LAYA_3D_RENDER_RENDERCOMMANDBUFFER: string;
static PERFORMANCE_LAYA_3D_RENDER_RENDERTRANSPARENT: string;
static PERFORMANCE_LAYA_3D_RENDER_POSTPROCESS: string;
static setPerformanceDataTool(tool: any): void;
static begainSample(path: string): void;
static endSample(path: string): number;
static expoertFile(path: string): any;
static showFunSampleFun(path: string): void;
static set enable(value: boolean);
static get enable(): boolean;
static set enableDataExport(value: boolean);
static get enableDataExport(): boolean;
}