flash - Using Stage 3D inside a Direct3D or OpenGL application -


before there stage 3d, capture output of flash rendering engine in-place site , use texture. now, there stage 3d seems can't rendered windowless...

is there way capture output of flash control running in direct mode? or there way let them render supplied surface?

you can capture stage3d buffer bitmapdata

try method context3d.drawtobitmapdata()

    var renderedbitmapdata:bitmapdata = new bitmapdata(viewwidth, viewheight, true);     rendercontext.drawtobitmapdata(renderedbitmapdata);      rendercontext.present();      //add stage     bitmap = new bitmap(renderedbitmapdata);     this.addchild(bitmap); 

Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -