摘要:
QImage texture, buffer; buffer.load("C:/Users/wukesong/Pictures/flower.jpg"); texture = QGLWidget::convertToGLFormat(buffer);//转换为OpenGL支持的格式 glGenTextures(1, &gColorSpec);//创建纹理数... 阅读全文
posted @ 2018-04-05 00:29
茶飘香~
阅读(1754)
评论(0)
推荐(0)