Skip to main content

destroy 销毁图像纹理

destroy

类型: MethodDeclaration

所属类: ImageTexture

定义位置: webgl.ts

描述

销毁图像纹理

返回值

类型: void

源代码

位置: 第 2299 行

public destroy(): void {
if (!this.destroyed) {
this.destroyed = true
this.complete = false
this.base.decreaseRefCount()
}
}

文档生成时间:2025/7/7 12:07:07