glGenTextures(&n,1); glTexStorage2D(n,...); for( mips ) glTexSubImage2D(n,mips[i]); // bind the texture and draw.
確定! 回上一頁