Preparing search index...
The search index is not available
API
API
addResourceRefCount
Function addResourceRefCount
add
Resource
Ref
Count
(
resource
,
count
?
)
:
void
增加资源引用次数。如果在对象dispose销毁前,资源引用次数为零。将调用资源的dispose进行资源回收 resource 资源对象 count 引用次数,默认1
Parameters
resource
:
Object3D
<
Object3DEventMap
>
|
Material
|
Texture
|
Material
[]
|
WebGLRenderTarget
<
Texture
>
count
:
number
= 1
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...
增加资源引用次数。如果在对象dispose销毁前,资源引用次数为零。将调用资源的dispose进行资源回收 resource 资源对象 count 引用次数,默认1