<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>x67x6fx74x6f</author_name>
  <author_url>https://blog.hatena.ne.jp/x67x6fx74x6f/</author_url>
  <blog_title>Apple Engine</blog_title>
  <blog_url>https://appleengine.hatenablog.com/</blog_url>
  <categories>
    <anon>SceneKit</anon>
    <anon>Metal</anon>
    <anon>開発</anon>
  </categories>
  <description>SCNView の snapshot() メソッドでシーン自体のスクリーンショットを取得できる。 スレッドセーフでいつでも呼べるとはドキュメントには書いてあるが処理時間がかかるので連続で呼ぶとフレームが落ちる。 そのため、別の方法を使い Metal の命令から SceneKit のシーンのレンダリング結果を取得する方法を試してみる。 今回の記事の注意点としては、 フレーム毎に Command Buffer を生成するため、そこまで処理が軽くない。 また、今回 Metal に関してはあまり解説しないため本や Web で調べて欲しい。 サンプルファイル 上もしくは左のビューを動かすと、もう片方のビ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fappleengine.hatenablog.com%2Fentry%2F2019%2F05%2F05%2F012118&quot; title=&quot;SceneKit と Metal で片方のビューをキャプチャし、他のビューのジオメトリに貼り付ける - Apple Engine&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/x/x67x6fx74x6f/20190505/20190505010643.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-05 01:21:18</published>
  <title>SceneKit と Metal で片方のビューをキャプチャし、他のビューのジオメトリに貼り付ける</title>
  <type>rich</type>
  <url>https://appleengine.hatenablog.com/entry/2019/05/05/012118</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
