IndexBufferとは? わかりやすく解説

IndexBuffer イベント


パブリック イベントパブリック イベント

  名前 説明
パブリック イベント Created デバイスがリセットされ、IndexBuffer が再作成された後に発生します。
パブリック イベント Disposing Dispose メソッドが呼び出されたか、または IndexBuffer オブジェクトが終了してガベージ コレクタによって収集されたときに発生します。
参照参照

関連項目

IndexBuffer クラス
Microsoft.WindowsMobile.DirectX.Direct3D 名前空間

その他の技術情報

Mobile Direct3D プログラミング

IndexBuffer クラス

インデックス バッファのリソースを操作します。

名前空間: Microsoft.WindowsMobile.DirectX.Direct3D
アセンブリ: Microsoft.WindowsMobile.DirectX (microsoft.windowsmobile.directx.dll 内)
構文構文

Public Class IndexBuffer
    Inherits Resource
    Implements IDisposable
public class IndexBuffer extends Resource implements
 IDisposable
public class IndexBuffer extends
 Resource implements IDisposable
解説解説
継承階層継承階層
System.Object
   Microsoft.WindowsMobile.DirectX.Direct3D.BaseMesh
     Microsoft.WindowsMobile.DirectX.Direct3D.Resource
       Microsoft.WindowsMobile.DirectX.Direct3D.BaseTexture
        Microsoft.WindowsMobile.DirectX.Direct3D.IndexBuffer
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

IndexBuffer コンストラクタ

IndexBuffer クラスの新しいインスタンスを初期化します。
オーバーロードの一覧オーバーロードの一覧

参照参照

関連項目

IndexBuffer クラス
IndexBuffer メンバ
Microsoft.WindowsMobile.DirectX.Direct3D 名前空間

IndexBuffer コンストラクタ (Device, Int32, Usage, Pool, Boolean)

IndexBuffer クラスの新しいインスタンスを初期化します。

名前空間: Microsoft.WindowsMobile.DirectX.Direct3D
アセンブリ: Microsoft.WindowsMobile.DirectX (microsoft.windowsmobile.directx.dll 内)
構文構文

Public Sub New ( _
    device As Device, _
    sizeOfBufferInBytes As Integer, _
    usage As Usage, _
    pool As Pool, _
    sixteenBitIndices As Boolean _
)
Dim device As Device
Dim sizeOfBufferInBytes As Integer
Dim usage As Usage
Dim pool As Pool
Dim sixteenBitIndices As Boolean

Dim instance As New IndexBuffer(device,
 sizeOfBufferInBytes, usage, pool, sixteenBitIndices)
public IndexBuffer (
    Device device,
    int sizeOfBufferInBytes,
    Usage usage,
    Pool pool,
    bool sixteenBitIndices
)
public:
IndexBuffer (
    Device^ device, 
    int sizeOfBufferInBytes, 
    Usage usage, 
    Pool pool, 
    bool sixteenBitIndices
)
public IndexBuffer (
    Device device, 
    int sizeOfBufferInBytes, 
    Usage usage, 
    Pool pool, 
    boolean sixteenBitIndices
)
public function IndexBuffer (
    device : Device, 
    sizeOfBufferInBytes : int, 
    usage : Usage, 
    pool : Pool, 
    sixteenBitIndices : boolean
)

パラメータ

device

インデックス バッファに関連付ける Device オブジェクト。

sizeOfBufferInBytes

インデックス バッファのサイズ (バイト単位)。

usage

使用方法には 0 を指定できます。これは、使用方法の値がないことを示します。使用方法が必要な場合は、Usage の 1 つ以上のフラグの組み合わせを使用します。usage パラメータは、Device コンストラクタの動作フラグと一致させることをお勧めします。

pool

リソースを配置する有効なメモリ クラスを示す Pool 列挙型のメンバ。

sixteenBitIndices

インデックス バッファが 16 ビットのインデックスを格納する場合は、true に設定します。インデックス バッファが 32 ビットのインデックスを格納する場合は、false に設定します。

例外例外
例外の種類条件

InvalidCallException

メソッドの呼び出しが無効です。たとえば、メソッドのパラメータに無効な値が含まれている場合などです。

OutOfMemoryException

Direct3D に、操作を実行するための十分な表示メモリがありません。

解説解説
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IndexBuffer クラス
IndexBuffer メンバ
Microsoft.WindowsMobile.DirectX.Direct3D 名前空間

IndexBuffer コンストラクタ (Type, Int32, Device, Usage, Pool)

IndexBuffer クラスの新しいインスタンスを初期化します。

名前空間: Microsoft.WindowsMobile.DirectX.Direct3D
アセンブリ: Microsoft.WindowsMobile.DirectX (microsoft.windowsmobile.directx.dll 内)
構文構文

Public Sub New ( _
    typeIndexType As Type, _
    numberIndices As Integer, _
    device As Device, _
    usage As Usage, _
    pool As Pool _
)
Dim typeIndexType As Type
Dim numberIndices As Integer
Dim device As Device
Dim usage As Usage
Dim pool As Pool

Dim instance As New IndexBuffer(typeIndexType,
 numberIndices, device, usage, pool)
public IndexBuffer (
    Type typeIndexType,
    int numberIndices,
    Device device,
    Usage usage,
    Pool pool
)
public:
IndexBuffer (
    Type^ typeIndexType, 
    int numberIndices, 
    Device^ device, 
    Usage usage, 
    Pool pool
)
public IndexBuffer (
    Type typeIndexType, 
    int numberIndices, 
    Device device, 
    Usage usage, 
    Pool pool
)
public function IndexBuffer (
    typeIndexType : Type, 
    numberIndices : int, 
    device : Device, 
    usage : Usage, 
    pool : Pool
)

パラメータ

typeIndexType

バッファが保持するインデックス データの型を示す Type。値型か、値型のみを含む任意の型を指定できます。

numberIndices

バッファが保持できるインデックスの最大数。

device

インデックス バッファに関連付ける Device オブジェクト。

usage

使用方法には 0 を指定できます。これは、使用方法の値がないことを示します。使用方法が必要な場合は、Usage の 1 つ以上のフラグの組み合わせを使用します。usage パラメータは、Device コンストラクタの動作フラグと一致させることをお勧めします。

pool

リソースを配置する有効なメモリ クラスを示す Pool 列挙型のメンバ。

例外例外
例外の種類条件

InvalidCallException

メソッドの呼び出しが無効です。たとえば、メソッドのパラメータに無効な値が含まれている場合などです。

OutOfMemoryException

Direct3D に、操作を実行するための十分な表示メモリがありません。

解説解説
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IndexBuffer クラス
IndexBuffer メンバ
Microsoft.WindowsMobile.DirectX.Direct3D 名前空間

IndexBuffer プロパティ


IndexBuffer メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

IndexBuffer クラス
Microsoft.WindowsMobile.DirectX.Direct3D 名前空間

その他の技術情報

Mobile Direct3D プログラミング

IndexBuffer メンバ

インデックス バッファのリソースを操作します。

IndexBuffer データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
パブリック イベントパブリック イベント
  名前 説明
パブリック イベント Created デバイスがリセットされ、IndexBuffer が再作成された後に発生します。
パブリック イベント Disposing Dispose メソッドが呼び出されたか、または IndexBuffer オブジェクトが終了してガベージ コレクタによって収集されたときに発生します。
参照参照

関連項目

IndexBuffer クラス
Microsoft.WindowsMobile.DirectX.Direct3D 名前空間

その他の技術情報

Mobile Direct3D プログラミング



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「IndexBuffer」の関連用語

IndexBufferのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IndexBufferのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS