[]laya中的截屏在WebGL下为什么无效呢?

laya中的截屏在WebGL下为什么无效呢?而egret中提供的截屏咋如些简单,且行之有效。
以下是 egret中截屏的关键代码
this._bmpSnap = new egret.Bitmap;
this._bmpSnap.x = L.GAP_UNIFIED;
this._bmpSnap.y = this._contMotion.y + L.H_CLIP + L.GAP_UNIFIED;
this.addChild( this._bmpSnap );

/// 快照特效
this._shapeSnapEffect = new egret.Shape;
this._shapeSnapEffect.graphics.beginFill( 0xFFFFFF );
this._shapeSnapEffect.graphics.drawRect( 0, 0, L.W_CLIP, L.H_CLIP );
this._shapeSnapEffect.graphics.endFill();
this._shapeSnapEffect.cacheAsBitmap = true;

this._shapeSnapEffect.x = this._bmpSnap.x;
this._shapeSnapEffect.y = this._bmpSnap.y;

http://developer.egret.com/cn/ ... -draw
Laya能不能参考一下egret中的截屏功能吗??
在WebGL和app下命倒底用什么方法才能截屏呢???期待。。。。。。。
已邀请:

wufee

赞同来自:

在这个例子中  https://ask.layabox.com/question/4150   在WebGLg下截屏是失败的,不能截屏

wufee

赞同来自:

这是上传的一个例子你看一下,有什么不对

要回复问题请先

商务合作
商务合作