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, the RenderSystem will handle its disposal. dispose(): void Returns - void Defined in core/common/src/RenderTexture.ts Line 44 Last Updated: 11 June, 2024