开发者

How to get the GLSurface Size?

开发者 https://www.devze.com 2023-02-23 00:00 出处:网络
How can I get the Wisth and Height of the GLSurfaceView I开发者_如何学运维 am currently render in, in pixels?may be this:

How can I get the Wisth and Height of the GLSurfaceView I开发者_如何学运维 am currently render in, in pixels?


may be this:

@Override
public void onSurfaceChanged(GL10 glUnused, int width, int height) {

}

of public class MyGLRenderer implements GLSurfaceView.Renderer

0

精彩评论

暂无评论...
验证码 换一张
取 消