Now that you know the parameters for glTexImage2D here is a sample call: glTexImage2D (GL_TEXTURE_2D, 0, GL_RGB, imageWidth, imageHeight, 0, ...
確定! 回上一頁