从WebGLTexture获取纹理ID

时间:2020-06-19 09:59:21

标签: javascript webgl textures emscripten webassembly

给出以下代码,

var texture = gl.createTexture();

是否有可靠且高效的方式从texture获取基础纹理ID并将其安全地传递给已启用GL的WASM模块使用?

谢谢。

0 个答案:

没有答案