{"id":4347,"date":"2018-07-27T21:13:24","date_gmt":"2018-07-27T13:13:24","guid":{"rendered":"http:\/\/www.bookcard.net\/wordpress\/?p=4347"},"modified":"2021-09-07T14:58:28","modified_gmt":"2021-09-07T06:58:28","slug":"android_game_opengl_es","status":"publish","type":"post","link":"https:\/\/www.bookcard.net\/wordpress\/android_game_opengl_es\/","title":{"rendered":"Android\u904a\u6232\u4e4bOpenGL ES"},"content":{"rendered":"<figure id=\"attachment_4348\" aria-describedby=\"caption-attachment-4348\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/07\/Android_Game_OpenGL_ES.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4348\" src=\"http:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/07\/Android_Game_OpenGL_ES.jpg\" alt=\"\" width=\"1200\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/07\/Android_Game_OpenGL_ES.jpg 1200w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/07\/Android_Game_OpenGL_ES-300x200.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/07\/Android_Game_OpenGL_ES-768x512.jpg 768w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/07\/Android_Game_OpenGL_ES-1024x683.jpg 1024w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><figcaption id=\"caption-attachment-4348\" class=\"wp-caption-text\">Android\u904a\u6232\u4e4bOpenGL ES<\/figcaption><\/figure>\n<p>OpenGL ES\u5c08\u70ba\u79fb\u52d5\u8207\u5d4c\u5165\u8a2d\u5099\u8a2d\u8a08\u4e4b\u5716\u5f62\u7de8\u7a0b\u63a5\u53e3. \u5b83\u4e26\u975e\u7531ARB\u59d4\u54e1\u6703\u5b9a\u7fa9.\u800c\u662f\u7531Khronos\u7d44\u7e54\u5b9a\u7fa9.\u8a72\u7d44\u7e54\u5305\u62ecATI\u3001NVIDIA\u3001Intel\u7b49\u7d44\u6210.\u96d6\u7136\u300eOpenGL\u300f\u8207\u300eOpenGL ES\u300f\u4f86\u81ea\u5169\u500b\u4e0d\u540c\u7d44\u7e54. \u300eOpenGL ES\u300f\u4fc2\u300eOpenGL\u300f\u522a\u6e1b\u677f.\u4f46\u4f60\u4f9d\u7136\u53ef\u5beb\u51fa\u5728\u5169\u7a2e\u6a19\u6e96\u4e0b\u90fd\u53ef\u904b\u884c\u4e4b\u7a0b\u5f0f.\u9019\u5c0d\u65bc\u79fb\u690d\u904a\u6232\u5f88\u91cd\u8981.OpenGL ES\u540c\u6a23\u4ee5C\u6587\u6a94\u767c\u4f48API.\u800c\u4ee3\u78bc\u5be6\u73fe\u7531\u786c\u4ef6\u5ee0\u5546\u5b8c\u6210.<\/p>\n<p>\u5982\u679cAndroidManifest.xml\u4e2d\u7121\u914d\u7f6eglEsVersion,\u5247\u8868\u793a\u652f\u6301OpenGL ES 1.0\u4f46\u6240\u6709Android\u7cfb\u7d71\u90fd\u652f\u6301.\u82e5\u652f\u6301OpenGL ES 2.0\u9700\u5728AndroidManifest.xml\u4e2d\u6dfb\u52a0:<\/p>\n<p>&lt;uses-feature\u00a0 android:required=&#8221;false&#8221;\u00a0 android:glEsVersion=&#8221;0x00020000&#8243; \/&gt;<\/p>\n<p>OpenGL ES\u7248\u672c\u865f\u70ba32\u4f4d\u6574\u6578.\u9ad816\u4f4d\u8868\u793aOpenGL ES\u5927\u7248\u672c,\u4f4e16\u4f4d\u8868\u793aOpenGL ES\u5c0f\u7248\u672c.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">required\u5fc5\u9808<\/td>\n<td width=\"277\">\u7c21\u4ecb<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">true<\/td>\n<td width=\"277\">\u5fc5\u9700\u652f\u6301\u5426\u5247\u4e0d\u80fd\u904b\u884c<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">false<\/td>\n<td width=\"277\">\u53ef\u9078\u652f\u6301\u53ef\u80fd\u5f71\u97ff\u90e8\u5206\u904b\u884c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">OpenGL ES\u7248\u672c<\/td>\n<td width=\"277\">glEsVersion<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">GLES 1.0<\/td>\n<td width=\"277\">0x00010000<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">GLES 1.1<\/td>\n<td width=\"277\">0x00010001<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">GLES 2.0<\/td>\n<td width=\"277\">0x00020000<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">GLES 3.0<\/td>\n<td width=\"277\">0x00030000<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">GLES 3.1<\/td>\n<td width=\"277\">0x00030001<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">GLES 3.2<\/td>\n<td width=\"277\">0x00030002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenGL ES\u5c08\u70ba\u79fb\u52d5\u8207\u5d4c\u5165\u8a2d\u5099\u8a2d\u8a08\u4e4b\u5716\u5f62\u7de8\u7a0b\u63a5\u53e3. \u5b83\u4e26\u975e\u7531ARB\u59d4\u54e1\u6703\u5b9a\u7fa9.\u800c\u662f\u7531Khronos\u7d44\u7e54\u5b9a &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/android_game_opengl_es\/\" class=\"more-link\">\u7e7c\u7e8c\u95b1\u8b80 <span class=\"screen-reader-text\">Android\u904a\u6232\u4e4bOpenGL ES<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,62],"tags":[2,50],"class_list":["post-4347","post","type-post","status-publish","format-standard","hentry","category-android","category-opengl","tag-android","tag-opengl","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/4347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/comments?post=4347"}],"version-history":[{"count":3,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/4347\/revisions"}],"predecessor-version":[{"id":10846,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/4347\/revisions\/10846"}],"wp:attachment":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/media?parent=4347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/categories?post=4347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/tags?post=4347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}