API Reference > imodeljs-common > Rendering > RenderTexture > dispose dispose MethodAbstract Releases any WebGL resources owned by this texture. If RenderTexture.isOwned is true, then whatever object claims ownership of the texture is responsible for disposing of it when it is no longer needed. Otherwise, imodeljs will handle its disposal. dispose(): void Returns - void Defined in core/common/src/RenderTexture.ts Line 42 Last Updated: 13 June, 2024