<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hikita12312</author_name>
  <author_url>https://blog.hatena.ne.jp/hikita12312/</author_url>
  <blog_title>下町のナポレオン</blog_title>
  <blog_url>https://hikita12312.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>小ネタです。 以下,DirectX系を考えています。 1つの三角形で矩形のUVを描画する 普通四角形のテクスチャを画面全体に表示しようとすると,こんな感じでスクリーンスペースで2つの三角形を描くかと思います。 これと同じことを,大きな三角形一つで実現できます。 はみ出たところはクリッピングされるので問題ありません。 画面全体にレンダリングしない場合でも,適当にスケーリングして.ID3D11DeviceContext::RSSetScissorRects()などシザー矩形でクリップすれば大丈夫です。 頂点バッファを利用しないで三角形を描画する 結論から言うと,DirectX11ならば,頂点シェー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhikita12312.hatenablog.com%2Fentry%2F2018%2F01%2F25%2F230502&quot; title=&quot;小ネタ : スクリーンスペースの矩形描画 - 下町のナポレオン&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/h/hikita12312/20180125/20180125224401.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-25 23:05:02</published>
  <title>小ネタ : スクリーンスペースの矩形描画</title>
  <type>rich</type>
  <url>https://hikita12312.hatenablog.com/entry/2018/01/25/230502</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
