[GLSL]Mipmap 相关函数

  • int textureQueryLevels(sampler):返回该材质 Mipmap 数量
  • vec2 textureQueryLod(sampler, vec2):返回 Mipmap 与 LOD 所在等级
OpenGL