The type used for names in OpenGL is GLuint GLuint texture; // Generate a name for the texture glGenTextures(1, &texture); // Now bind it to the context ...
確定! 回上一頁