[]layanative下怎么开启WebGL

为什么我用layanative测试app,拿到的isConchWebGL是false?请问怎么开启webgl
已邀请:

Laya_XS

赞同来自:

默认layanative就是开启webgl的,如果你需要环境判断的话,可以这样
用isConchNode 判断是2d的webgl模式;
用isConchWebgl 判断是3d是否是webgl模式

要回复问题请先

商务合作
商务合作