Minimum required Texture Size for compliance with OpenGL-ES 2.0 on Android?

前端 未结 1 1652
感动是毒
感动是毒 2021-02-20 15:58

is there a minimum texture size a certain hardware needs to support to be compliant with the OpenGL-ES 2.0 specification ?

Something like the GL_MAX_TEXTURE_SIZE value h

1条回答
  •  离开以前
    2021-02-20 16:17

    Yes, any GLES2 implementation must support at least 64 pixel texture in width and height. You can query actual actual max texture size with glGetIntegerv function using GL_MAX_TEXTURE_SIZE enum.

    See official spec page 141, table 6.20.

    0 讨论(0)
提交回复
热议问题