dispose method
Implementation
@override
void dispose() {
dispatchEvent(Event(type: "dispose"));
depthTexture?.dispose();
texture.dispose();
}
@override
void dispose() {
dispatchEvent(Event(type: "dispose"));
depthTexture?.dispose();
texture.dispose();
}