OpenGLã使ã£ã¦ããã¨ãã¯ã¹ãã£ãã¡ããã¨2ã®ç´¯ä¹(ã¹ãä¹)ã®ãµã¤ãºãã©ããããã§ãã¯ããå ´é¢ãæããã¨æãã¾ãã â»2ã®ç´¯ä¹ã¨ã¯2,4,8,16,32ãªã©2ãä½åãæããå¤ã®äºã§ãã â»OpenGLã®ãã¼ã¸ã§ã³ããã¼ãã«ãã£ã¦ã¯2ã®ç´¯ä¹ããç¡ãã¦ãè¯ãæãããã¾ãã ãã®å¤å®ãã·ã³ãã«ã«è¡ã£ã¦ããè¨äºãTwitterã§ç´¹ä»ããã¦ãã¦ãé常ã«ãã«ããã¨ããè¨è¿°ã ã£ãã®ã§ç´¹ä»ã è¨äºã¯ãã¡ã WebGL and OpenGL Differences - WebGL Public Wiki http://khronos.org/webgl/wiki/WebGL_and_OpenGL_Differences 該å½ããã°ã©ã ã¯ãã¡ãã«ãªãã¾ãã function isPowerOfTwo(x) { return (x & (x - 1)) == 0; } ä¾ãã°8ã ã£ãå ´åã¯ãããã§è¡¨ã㨠1
{{#tags}}- {{label}}
{{/tags}}