当前位置:网站首页>API learning of OpenGL (2005) gl_ MAX_ TEXTURE_ UNITS GL_ MAX_ TEXTURE_ IMAGE_ UNITS_ ARB

API learning of OpenGL (2005) gl_ MAX_ TEXTURE_ UNITS GL_ MAX_ TEXTURE_ IMAGE_ UNITS_ ARB

2022-07-06 10:36:00 hankern

int  _maxFFPTextureUnits;
int  _maxGPUTextureUnits;
glGetIntegerv( GL_MAX_TEXTURE_UNITS, &_maxFFPTextureUnits );  //4
glGetIntegerv( GL_MAX_TEXTURE_IMAGE_UNITS_ARB, &_maxGPUTextureUnits );  //32

原网站

版权声明
本文为[hankern]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131709023703.html