关于 AGAL 中Texture的Mip映射的函数: public function uploadTextureWithMipmaps($dest:Texture, $BitmapData):void{ var $ws:int = $src.width; var $hs:int = $src.height; var $level:int = 0; var $tmp:BitmapData;
①: AGAL ----3D 步骤整理1,contextd3D.configureBackBuffer(swfWidth,swfHeight,0,true);说明: 3D后备缓冲区的像素的大小2,initShaders()Ps: var vertexShaderAssembler : AGALMiniAssembler = new AGALMiniAssembler(); verte
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号