preview draw and general optimization

This commit is contained in:
Tubix
2024-12-19 00:52:12 +00:00
parent 3b619e137a
commit 843b99d027
10 changed files with 202 additions and 38 deletions

View File

@@ -138,6 +138,11 @@ package alternativa.gfx.core{
dispatchEvent(new Event(Event.CONTEXT3D_CREATE));
}
public function getContext3D() : Context3D
{
return this._stage3D.context3D;
}
public function dispose():void{
var _local_1:*;
this._stage3D.removeEventListener(Event.CONTEXT3D_CREATE, this.onContext3DCreate);