For a QOpenGLTexture , you have to set Size , Format before allocateStorage . The last step is setData . QOpenGLTexture *text = new ...
確定! 回上一頁