1-2 OpenGL 渲染模式介绍

2017-12-12  本文已影响0人  super小立立

OpenGL 渲染模型

设置当前OpenGLEs 的渲染模式

setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY);

源码注释

  /*
         * The renderer only renders
         * when the surface is created, or when {@link #requestRender} is called.
         * public final static int RENDERMODE_WHEN_DIRTY = 0;
         *

         * The renderer is called
         * continuously to re-render the scene.
         public final static int RENDERMODE_CONTINUOUSLY = 1;
         */
上一篇 下一篇

猜你喜欢

热点阅读