effect-motion
API ReferencethreeNamespacesPostProcessingFunctions

disposePass

function disposePass(self): void;

Function: disposePass()

function disposePass(self): void;

Defined in: packages/three/src/PostProcessing.ts:104

Release a pass's GPU resources.

Parameters

ParameterType
selfPass

Returns

void

Remarks

Passes are not scoped, so dispose one explicitly when its owner goes away.

On this page