跳到主要内容

Kernel

Ploy3DDocs


Ploy3D / Kernel

Class: Kernel

内核接口实例。

Constructors

new Kernel()

new Kernel(_global): Kernel

构造函数。

Parameters

_global: Ploy3D

Returns

Kernel

Methods

Dispose()

Dispose(): Promise<object>

清除对象。

Returns

Promise<object>

Engine_cameraCount

Engine_cameraCount: number

Engine_frameUniformsCount

Engine_frameUniformsCount: number

Engine_lightCount

Engine_lightCount: number

Engine_materialCount

Engine_materialCount: number

Engine_meshCount

Engine_meshCount: number

Engine_meshRendererCount

Engine_meshRendererCount: number

Engine_objectCount

Engine_objectCount: number

Engine_sceneCount

Engine_sceneCount: number

Engine_spriteCount

Engine_spriteCount: number

Engine_uniformBufferCount

Engine_uniformBufferCount: number

Engine_uniformCount

Engine_uniformCount: number

Engine_volumeCount

Engine_volumeCount: number

Memory_blockCount

Memory_blockCount: number

Memory_blockSize

Memory_blockSize: number

Memory_freeCount

Memory_freeCount: number

Memory_freeSize

Memory_freeSize: number

Memory_growSize

Memory_growSize: number

Memory_useCount

Memory_useCount: number

Memory_useSize

Memory_useSize: number

System_frameTS

System_frameTS: number

System_moduleCount

System_moduleCount: number


Init()

Init(_imports): Promise<Kernel>

初始化引擎内核。

Parameters

_imports

Returns

Promise<Kernel>


Status()

Status(): object

状态统计。

Returns

object

Engine_cameraCount

Engine_cameraCount: number

Engine_frameUniformsCount

Engine_frameUniformsCount: number

Engine_lightCount

Engine_lightCount: number

Engine_materialCount

Engine_materialCount: number

Engine_meshCount

Engine_meshCount: number

Engine_meshRendererCount

Engine_meshRendererCount: number

Engine_objectCount

Engine_objectCount: number

Engine_sceneCount

Engine_sceneCount: number

Engine_spriteCount

Engine_spriteCount: number

Engine_uniformBufferCount

Engine_uniformBufferCount: number

Engine_uniformCount

Engine_uniformCount: number

Engine_volumeCount

Engine_volumeCount: number

Memory_blockCount

Memory_blockCount: number

Memory_blockSize

Memory_blockSize: number

Memory_freeCount

Memory_freeCount: number

Memory_freeSize

Memory_freeSize: number

Memory_growSize

Memory_growSize: number

Memory_useCount

Memory_useCount: number

Memory_useSize

Memory_useSize: number

System_frameTS

System_frameTS: number

System_moduleCount

System_moduleCount: number