WebGLRenderingContext.wxBindCanvasTexture(number texture, Canvas canvas)

    将一个 Canvas 对应的 Texture 绑定到 WebGL 上下文。

    Canvas canvas

    需要绑定为 Texture 的 Canvas

    示例代码

    等同于