dispose method
void
dispose()
Implementation
void dispose() {
state.reset();
attributes.dispose();
renderLists.dispose();
renderStates.dispose();
properties.dispose();
cubemaps.dispose();
cubeuvmaps.dispose();
objects.dispose();
bindingStates.dispose();
programCache.dispose();
background.dispose();
textures.dispose();
geometries.dispose();
shadowMap.dispose();
//materials.renderer.dispose();
if (_transmissionRenderTarget != null) {
_transmissionRenderTarget!.dispose();
_transmissionRenderTarget = null;
}
currentRenderList?.dispose();
for(final stack in renderListStack){
stack.dispose();
}
}