{"id":332,"date":"2010-08-01T22:31:36","date_gmt":"2010-08-01T13:31:36","guid":{"rendered":"https:\/\/matsudapress.com\/?p=332"},"modified":"2010-08-01T22:31:36","modified_gmt":"2010-08-01T13:31:36","slug":"iphone-sdk-%e3%82%a2%e3%83%97%e3%83%aa%e9%96%8b%e7%99%ba%e3%81%ae%e5%8b%89%e5%bc%b7%e2%80%a5%e3%80%80es1renderer%e3%81%ae%e3%81%bf%e3%82%92%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8b%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/matsudapress.com\/?p=332","title":{"rendered":"iphone SDK \u30a2\u30d7\u30ea\u958b\u767a\u306e\u52c9\u5f37\u2025\u3000ES1Renderer\u306e\u307f\u3092\u5229\u7528\u3059\u308b\u8a2d\u5b9a"},"content":{"rendered":"<p>\u4e0b\u8a18\u306f\u3001OpenGL\u3067ES1\u306e\u307f\u5229\u7528\u3057\u3001ObjectC++\u3092\u6709\u52b9\u304b\u3059\u308b\u969b\u306e\u8a2d\u5b9a\u30e1\u30e2\u3067\u3059\u3002<\/p>\n<p><strong>ES2Renderer.h \u3068\u3000ES2Renderer.m\u3092\u524a\u9664<\/strong><\/p>\n<p><strong>EAGLView.m<\/strong><\/p>\n<pre class=\"brush:c++\">\/\/\n\/\/  EAGLView.m\n\/\/  particle01\n\/\/\n\/\/  Created by mac on 10\/08\/01.\n\/\/  Copyright __MyCompanyName__ 2010. All rights reserved.\n\/\/\n\n#import \"EAGLView.h\"\n\n#import \"ES1Renderer.h\"\n\/\/ #import \"ES2Renderer.h\" \/\/   \u524a\u9664\n\n@implementation EAGLView\n\n\u2026\u7701\u7565\n\n        \/\/ renderer = [[ES2Renderer alloc] init]; \/\/\u524a\u9664\n\n        \/\/ if (!renderer) \/\/\u524a\u9664\n        \/\/ {\u3000\/\/  \u524a\u9664\n            renderer = [[ES1Renderer alloc] init];\n\n            if (!renderer)\n            {\n                [self release];\n                return nil;\n            }\n        \/\/}  \/\/\u524a\u9664\n\n        animating = FALSE;\n        displayLinkSupported = FALSE;\n\n\u2026\u7701\u7565\n<\/pre>\n<p><strong>EAGLView.h<\/strong><\/p>\n<pre class=\"brush:c++\">\/\/\n\/\/  EAGLView.h\n\/\/  particle01\n\/\/\n\/\/  Created by mac on 10\/08\/01.\n\/\/  Copyright __MyCompanyName__ 2010. All rights reserved.\n\/\/\n\n#import\n#import\n\n\/\/ #import \"ESRenderer.h\"<\/del> \/\/\u524a\u9664\n#import \"ES1Renderer.h\" \/\/\u8ffd\u52a0\n\n\/\/ This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass.\n\/\/ The view content is basically an EAGL surface you render your OpenGL scene into.\n\/\/ Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel.\n@interface EAGLView : UIView\n{\n@private\n    \/\/ id  renderer; \/\/\u524a\u9664\n    ES1Renderer* renderer; \/\/\u8ffd\u52a0\n\n    BOOL animating;\n    BOOL displayLinkSupported;\n    NSInteger animationFrameInterval;\n<\/pre>\n<p>\u3053\u308c\u3067\u3000ES1Renderer\u306e\u307f\u610f\u8b58\u3057\u3066\u4f5c\u308c\u308b\u3002<br \/>\n\u307e\u305f\u3001\u65e2\u5b58\u306e\u3000\u3000ES1Renderer.m \u306a\u3069\u306e.m\u3068\u306a\u3063\u3066\u3044\u308b\u62e1\u5f35\u5b50\u3092.mm\u3068\u3057\u3066\u3042\u3052\u308c\u3070ObjectC++\u3092\u5229\u7528\u3067\u304d\u308b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u8a18\u306f\u3001OpenGL\u3067ES1\u306e\u307f\u5229\u7528\u3057\u3001ObjectC++\u3092\u6709\u52b9\u304b\u3059\u308b\u969b\u306e\u8a2d\u5b9a\u30e1 &hellip; <a href=\"https:\/\/matsudapress.com\/?p=332\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,36],"tags":[],"class_list":["post-332","post","type-post","status-publish","format-standard","hentry","category-iphone","category-opengl"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=332"}],"version-history":[{"count":0,"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts\/332\/revisions"}],"wp:attachment":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}