Manager.CheckDepthStencilMatch メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Manager.CheckDepthStencilMatch メソッドの意味・解説 

Manager.CheckDepthStencilMatch メソッド

特定の表示モードでのレンダリング形式に対して深度ステンシル形式互換性があるかどうか判断します

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

Public Shared Function CheckDepthStencilMatch
 ( _
    adapter As Integer, _
    deviceType As DeviceType, _
    adapterFormat As Format, _
    renderTargetFormat As Format, _
    depthStencilFormat As DepthFormat _
) As Boolean
Dim adapter As Integer
Dim deviceType As DeviceType
Dim adapterFormat As Format
Dim renderTargetFormat As Format
Dim depthStencilFormat As DepthFormat
Dim returnValue As Boolean

returnValue = Manager.CheckDepthStencilMatch(adapter, deviceType, adapterFormat,
 renderTargetFormat, depthStencilFormat)
public static bool CheckDepthStencilMatch
 (
    int adapter,
    DeviceType deviceType,
    Format adapterFormat,
    Format renderTargetFormat,
    DepthFormat depthStencilFormat
)
public:
static bool CheckDepthStencilMatch (
    int adapter, 
    DeviceType deviceType, 
    Format adapterFormat, 
    Format renderTargetFormat, 
    DepthFormat depthStencilFormat
)
public static boolean CheckDepthStencilMatch
 (
    int adapter, 
    DeviceType deviceType, 
    Format adapterFormat, 
    Format renderTargetFormat, 
    DepthFormat depthStencilFormat
)
public static function CheckDepthStencilMatch
 (
    adapter : int, 
    deviceType : DeviceType, 
    adapterFormat : Format, 
    renderTargetFormat : Format, 
    depthStencilFormat : DepthFormat
) : boolean

パラメータ

adapter

照会するディスプレイ アダプタを示す序数。AdapterListCollection.Default は、常にプライマリ ディスプレイ アダプタです。

deviceType

デバイス種類識別する DeviceType 列挙体のメンバ

adapterFormat

アダプタ設定される表示モード形式識別する Format 列挙体のメンバ

renderTargetFormat

テストするレンダリング先のサーフェイス形式識別する Format 列挙体のメンバ

depthStencilFormat

テストする深度ステンシル サーフェイス形式識別する DepthFormat 列挙体のメンバ

戻り値
メソッド成功した場合trueそれ以外場合false

解説解説
使用例使用例

CheckDeviceFormat メソッド使用して深度ステンシル形式検証する方法コード例次に示します

' check support for a Format.A16B16R16F render target
If Not Microsoft.WindowsMobile.DirectX.Direct3D.Manager.CheckDeviceFormat(0,
 DeviceType.Default, Format.A1R5G5B5, Usage.RenderTarget, ResourceType.BackBuffer,
 Format.A1R5G5B5) Then
    MsgBox("Supported")
End If
// check support for a Format.A16B16R16F render target
if (!Microsoft.WindowsMobile.DirectX.Direct3D.Manager.CheckDeviceFormat(0,
 DeviceType.Default, Format.A1R5G5B5,
                                  Usage.RenderTarget, ResourceType.BackBuffer,
                                  Format.A1R5G5B5))
    MessageBox.Show("Supported");
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Manager クラス
Manager メンバ
Microsoft.WindowsMobile.DirectX.Direct3D 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

Manager.CheckDepthStencilMatch メソッドのお隣キーワード
検索ランキング

   

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



Manager.CheckDepthStencilMatch メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS