<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sygh</author_name>
  <author_url>https://blog.hatena.ne.jp/sygh/</author_url>
  <blog_title>syghの新フラグメント置き場</blog_title>
  <blog_url>https://sygh.hatenadiary.jp/</blog_url>
  <categories>
    <anon>プログラミングTips</anon>
    <anon>GPU</anon>
    <anon>OpenGL</anon>
    <anon>Direct3D</anon>
  </categories>
  <description>世には4つのカラーチャンネル（Red, Green, Blue, Alpha）をサポートする画像フォーマットは数多あるのですが、整理も兼ねて Direct3D や OpenGL のテクスチャ フォーマットとの関連に言及しながらまとめてみようと思います。早速ですがいきなりサンプルコードです。 #include &lt;cstdio&gt; #include &lt;conio.h&gt; #include &lt;d3d9.h&gt; #include &lt;gdiplus.h&gt; struct Byte4 { BYTE b[4]; }; int main() { const D3DCOLOR color1 = D3DCOLOR_ARG…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsygh.hatenadiary.jp%2Fentry%2F2014%2F01%2F29%2F004523&quot; title=&quot;BGRA/RGBAに関してそろそろ一言いっておくか - syghの新フラグメント置き場&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-01-29 00:45:23</published>
  <title>BGRA/RGBAに関してそろそろ一言いっておくか</title>
  <type>rich</type>
  <url>https://sygh.hatenadiary.jp/entry/2014/01/29/004523</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
