目前小游戏只支持 canvas.getContext('webgl') 的基本方式
不支持通过
canvas.getContext('webgl',{
stencil : true,
preserveDrawingBuffer: true
});
方式设置参数, 导致webgl的某些功能无法使用.
希望小游戏早日支持这种方式,
谢谢.
网友回复
Link:
你好,目前仅支持 antialias、preserveDrawingBuffer、antialiasSamples 三个参数。详见 https://mp.weixin.qq.com/debug/wxagame/dev/document/render/canvas/Canvas.getContext.html?t=201818 。
部分特性未完全实现,后续我们会支持。