<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://monobook.org/w/index.php?action=history&amp;feed=atom&amp;title=MonoGame%2F%E3%82%AF%E3%83%A9%E3%82%B9%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%2FIndexBuffer%E3%82%AF%E3%83%A9%E3%82%B9</id>
	<title>MonoGame/クラスライブラリ/IndexBufferクラス - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://monobook.org/w/index.php?action=history&amp;feed=atom&amp;title=MonoGame%2F%E3%82%AF%E3%83%A9%E3%82%B9%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%2FIndexBuffer%E3%82%AF%E3%83%A9%E3%82%B9"/>
	<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=MonoGame/%E3%82%AF%E3%83%A9%E3%82%B9%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA/IndexBuffer%E3%82%AF%E3%83%A9%E3%82%B9&amp;action=history"/>
	<updated>2026-06-04T11:20:46Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://monobook.org/w/index.php?title=MonoGame/%E3%82%AF%E3%83%A9%E3%82%B9%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA/IndexBuffer%E3%82%AF%E3%83%A9%E3%82%B9&amp;diff=9134&amp;oldid=prev</id>
		<title>imported&gt;Administrator: /* 関連項目 */</title>
		<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=MonoGame/%E3%82%AF%E3%83%A9%E3%82%B9%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA/IndexBuffer%E3%82%AF%E3%83%A9%E3%82%B9&amp;diff=9134&amp;oldid=prev"/>
		<updated>2017-11-07T04:00:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;関連項目&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2017年11月7日 (火) 04:00時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l197&quot;&gt;197行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;197行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** [[MonoGame/クラスライブラリ/VertexPositionColorTexture構造体]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** [[MonoGame/クラスライブラリ/VertexPositionColorTexture構造体]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** [[MonoGame/クラスライブラリ/VertexPositionNormalTexture構造体]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** [[MonoGame/クラスライブラリ/VertexPositionNormalTexture構造体]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[三角形の秘密についてリークする]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category: MonoGame]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category: MonoGame]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Administrator</name></author>
	</entry>
	<entry>
		<id>https://monobook.org/w/index.php?title=MonoGame/%E3%82%AF%E3%83%A9%E3%82%B9%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA/IndexBuffer%E3%82%AF%E3%83%A9%E3%82%B9&amp;diff=9133&amp;oldid=prev</id>
		<title>imported&gt;Administrator: /* 使用例 */</title>
		<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=MonoGame/%E3%82%AF%E3%83%A9%E3%82%B9%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA/IndexBuffer%E3%82%AF%E3%83%A9%E3%82%B9&amp;diff=9133&amp;oldid=prev"/>
		<updated>2017-11-07T04:00:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;使用例&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2017年11月7日 (火) 04:00時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l178&quot;&gt;178行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;178行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 pass.Apply();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 pass.Apply();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 _graphics.GraphicsDevice.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, _indexBuffer.IndexCount / 3);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 _graphics.GraphicsDevice.DrawIndexedPrimitives(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                    &lt;/ins&gt;PrimitiveType.TriangleList, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;// 三角形の秘密はね…&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                    baseVertex: &lt;/ins&gt;0, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;// vertex側のはじまり&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                    startIndex: &lt;/ins&gt;0, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;// index側のはじまり&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                    primitiveCount: &lt;/ins&gt;_indexBuffer.IndexCount / 3 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;// 全部三角形なので単純に3で割る&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                &lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Administrator</name></author>
	</entry>
	<entry>
		<id>https://monobook.org/w/index.php?title=MonoGame/%E3%82%AF%E3%83%A9%E3%82%B9%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA/IndexBuffer%E3%82%AF%E3%83%A9%E3%82%B9&amp;diff=9132&amp;oldid=prev</id>
		<title>imported&gt;Administrator: ページの作成:「IndexBufferクラスは、ポリゴンを表示するのに使う頂点バッファの無駄を省くインデックスバッファを効率的に管理する...」</title>
		<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=MonoGame/%E3%82%AF%E3%83%A9%E3%82%B9%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA/IndexBuffer%E3%82%AF%E3%83%A9%E3%82%B9&amp;diff=9132&amp;oldid=prev"/>
		<updated>2017-11-07T03:57:51Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「IndexBufferクラスは、&lt;a href=&quot;/wiki/%E3%83%9D%E3%83%AA%E3%82%B4%E3%83%B3&quot; title=&quot;ポリゴン&quot;&gt;ポリゴン&lt;/a&gt;を表示するのに使う&lt;a href=&quot;/wiki/%E9%A0%82%E7%82%B9%E3%83%90%E3%83%83%E3%83%95%E3%82%A1&quot; title=&quot;頂点バッファ&quot;&gt;頂点バッファ&lt;/a&gt;の無駄を省く&lt;a href=&quot;/wiki/%E3%82%A4%E3%83%B3%E3%83%87%E3%83%83%E3%82%AF%E3%82%B9%E3%83%90%E3%83%83%E3%83%95%E3%82%A1&quot; title=&quot;インデックスバッファ&quot;&gt;インデックスバッファ&lt;/a&gt;を効率的に管理する...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;IndexBufferクラスは、[[ポリゴン]]を表示するのに使う[[頂点バッファ]]の無駄を省く[[インデックスバッファ]]を効率的に管理するクラスである。&lt;br /&gt;
[[MonoGame/クラスライブラリ/VertexBufferクラス|VertexBufferクラス]]と同様に[[グラフィックボード]]上の[[VRAM]]に事前に展開しておくなどの機能を持つ。&lt;br /&gt;
&lt;br /&gt;
== 継承 ==&lt;br /&gt;
* System.Object&lt;br /&gt;
** [[MonoGame/クラスライブラリ/GraphicsResourceクラス|Microsoft.Xna.Framework.Graphics.GraphicsResource]]&lt;br /&gt;
*** [[MonoGame/クラスライブラリ/IndexBufferクラス|Microsoft.Xna.Framework.Graphics.IndexBuffer]]&lt;br /&gt;
**** [[MonoGame/クラスライブラリ/DynamicIndexBufferクラス|Microsoft.Xna.Framework.Graphics.DynamicIndexBuffer]]&lt;br /&gt;
&lt;br /&gt;
== 名前空間 ==&lt;br /&gt;
* [[MonoGame/クラスライブラリ/Microsoft.Xna.Framework.Graphics名前空間|Microsoft.Xna.Framework.Graphics名前空間]]&lt;br /&gt;
&lt;br /&gt;
== 構文 ==&lt;br /&gt;
 public class IndexBuffer : GraphicsResource&lt;br /&gt;
&lt;br /&gt;
== コンストラクタ ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
! 名称&lt;br /&gt;
! 概要&lt;br /&gt;
|-&lt;br /&gt;
| protected&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | IndexBuffer(GraphicsDevice, Type, int, BufferUsage, bool)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| protected&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | IndexBuffer(GraphicsDevice, IndexElementSize, int, BufferUsage, bool)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| public &lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | IndexBuffer(GraphicsDevice, IndexElementSize, int, BufferUsage)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| public &lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | IndexBuffer(GraphicsDevice, Type, int, BufferUsage)&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== プロパティ ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
! 名称&lt;br /&gt;
! 概要&lt;br /&gt;
|-&lt;br /&gt;
| public &lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | BufferUsage	 &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | GraphicsDevice&lt;br /&gt;
| （GameResourceクラスから継承）&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | IndexCount&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | IndexElementSize&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | IsDisposed&lt;br /&gt;
| （GameResourceクラスから継承）&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | Name&lt;br /&gt;
| （GameResourceクラスから継承）&lt;br /&gt;
|-&lt;br /&gt;
| public &lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | Tag&lt;br /&gt;
| （GameResourceクラスから継承）&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== メソッド ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
! 名称&lt;br /&gt;
! 概要&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | Dispose()&lt;br /&gt;
|  （GameResourceクラスから継承）&lt;br /&gt;
|-&lt;br /&gt;
| protected&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | Dispose(bool)&lt;br /&gt;
| 派生クラスを作る場合は自前管理のリソースの破棄を実装する必要がある。&lt;br /&gt;
|-&lt;br /&gt;
| protected&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | Finalize&lt;br /&gt;
|  （GameResourceクラスから継承）&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | GetData&amp;lt;T&amp;gt;(int, T[], int, int)&lt;br /&gt;
| このインデックスバッファからインデックスを取得する。&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | GetData&amp;lt;T&amp;gt;(T[], int, int)&lt;br /&gt;
|  &lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | GetData&amp;lt;T&amp;gt;(T[])&lt;br /&gt;
|  &lt;br /&gt;
|-&lt;br /&gt;
| protected internal&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | GraphicsDeviceResetting&lt;br /&gt;
| GraphicsDeviceがリセットされGPU上のリソースを再作成する必要があるときに呼ばれる。&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | SetData&amp;lt;T&amp;gt;(T[], int, int)&lt;br /&gt;
| この頂点バッファに頂点データを設定する。大雑把に言えば頂点データの配列をメインメモリからVRAMにコピーする。&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | SetData&amp;lt;T&amp;gt;(T[])&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | SetData&amp;lt;T&amp;gt;(int, T[], int, int)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| protected&lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | SetDataInternal&amp;lt;T&amp;gt;&lt;br /&gt;
|  &lt;br /&gt;
|-&lt;br /&gt;
| public &lt;br /&gt;
! style=&amp;quot;white-space:nowrap;text-align:left&amp;quot; | ToString&lt;br /&gt;
|  （GameResourceクラスから継承）&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== イベント ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
! 名称&lt;br /&gt;
! 概要&lt;br /&gt;
|-&lt;br /&gt;
| public&lt;br /&gt;
| Disposing&lt;br /&gt;
| （GameResourceクラスから継承）&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 使用例 ==&lt;br /&gt;
まず[[MonoGame/クラスライブラリ/VertexBufferクラス|VertexBuffer]]を作ってSetDataする。&lt;br /&gt;
次にIndexBufferを作ってSetDataする。&lt;br /&gt;
IndexBufferは配列型と[[MonoGame/クラスライブラリ/IndexElementSize列挙体|IndexElementSize列挙体]]が食い違わないように注意すること。また[[配列]]の[[オーバーフロー]]にも注意。&lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
            // 頂点データを作成する&lt;br /&gt;
            var vertices = new VertexPositionColor[4];&lt;br /&gt;
            vertices[0] = new VertexPositionColor(new Vector3(-10, -10, 0), Color.Red);&lt;br /&gt;
            vertices[1] = new VertexPositionColor(new Vector3(-10, +10, 0), Color.Green);&lt;br /&gt;
            vertices[2] = new VertexPositionColor(new Vector3(+10, +10, 0), Color.White);&lt;br /&gt;
            vertices[3] = new VertexPositionColor(new Vector3(+10, -10, 0), Color.Blue);&lt;br /&gt;
&lt;br /&gt;
            // 頂点データをGPUに送り込む&lt;br /&gt;
            _vertexBuffer = new VertexBuffer(_graphics.GraphicsDevice, VertexPositionColor.VertexDeclaration, vertices.Length, BufferUsage.None);&lt;br /&gt;
            _vertexBuffer.SetData(vertices);&lt;br /&gt;
&lt;br /&gt;
            // 16ビット配列のインデックスバッファを作成する&lt;br /&gt;
            var indeces = new short[6];&lt;br /&gt;
            indeces[0] = 0; indeces[1] = 1; indeces[2] = 2;&lt;br /&gt;
            indeces[3] = 0; indeces[4] = 2; indeces[5] = 3;&lt;br /&gt;
&lt;br /&gt;
            // インデックスデータをGPUに送り込む&lt;br /&gt;
            _indexBuffer = new IndexBuffer(_graphics.GraphicsDevice, IndexElementSize.SixteenBits, indeces.Length, BufferUsage.None);&lt;br /&gt;
            _indexBuffer.SetData(indeces);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
描画するときは、GraphicsDeviceクラスのSetVertexBufferメソッドでVertexBufferを読み出し、続いてGraphicsDevice.Indicesプロパティに[[インデックスバッファ]]を設定し、DrawIndexedPrimitivesメソッドで描画する。&lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
            // 描画&lt;br /&gt;
&lt;br /&gt;
            _graphics.GraphicsDevice.SetVertexBuffer(_vertexBuffer);&lt;br /&gt;
            _graphics.GraphicsDevice.Indices = _indexBuffer;&lt;br /&gt;
&lt;br /&gt;
            foreach (var pass in _effect.CurrentTechnique.Passes)&lt;br /&gt;
            {&lt;br /&gt;
                pass.Apply();&lt;br /&gt;
                _graphics.GraphicsDevice.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, _indexBuffer.IndexCount / 3);&lt;br /&gt;
            }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 関連項目 ==&lt;br /&gt;
* [[インデックスバッファ]]&lt;br /&gt;
* [[MonoGame/クラスライブラリ/GraphicsResourceクラス]]&lt;br /&gt;
** [[MonoGame/クラスライブラリ/VertexBufferクラス]]&lt;br /&gt;
** [[MonoGame/クラスライブラリ/IndexBufferクラス]]&lt;br /&gt;
* [[MonoGame/クラスライブラリ/IVertexTypeインターフェイス]]&lt;br /&gt;
** [[MonoGame/クラスライブラリ/VertexPositionColor構造体]]&lt;br /&gt;
** [[MonoGame/クラスライブラリ/VertexPositionTexture構造体]]&lt;br /&gt;
** [[MonoGame/クラスライブラリ/VertexPositionColorTexture構造体]]&lt;br /&gt;
** [[MonoGame/クラスライブラリ/VertexPositionNormalTexture構造体]]&lt;br /&gt;
&lt;br /&gt;
[[category: MonoGame]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Administrator</name></author>
	</entry>
</feed>