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

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

Device.CreateDepthStencilSurface メソッド

深度ステンシル リソース作成します

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

Public Function CreateDepthStencilSurface (
 _
    width As Integer, _
    height As Integer, _
    format As DepthFormat, _
    multiSampleType As MultiSampleType _
) As Surface
Dim instance As Device
Dim width As Integer
Dim height As Integer
Dim format As DepthFormat
Dim multiSampleType As MultiSampleType
Dim returnValue As Surface

returnValue = instance.CreateDepthStencilSurface(width, height, format, multiSampleType)
public Surface CreateDepthStencilSurface (
    int width,
    int height,
    DepthFormat format,
    MultiSampleType multiSampleType
)
public:
Surface^ CreateDepthStencilSurface (
    int width, 
    int height, 
    DepthFormat format, 
    MultiSampleType multiSampleType
)
public Surface CreateDepthStencilSurface (
    int width, 
    int height, 
    DepthFormat format, 
    MultiSampleType multiSampleType
)
public function CreateDepthStencilSurface (
    width : int, 
    height : int, 
    format : DepthFormat, 
    multiSampleType : MultiSampleType
) : Surface

パラメータ

width

深度ステンシル サーフェイスの幅 (ピクセル単位)。

height

深度ステンシル サーフェイスの高さ (ピクセル単位)。

format

深度ステンシル サーフェイス形式記述する、DepthFormat 列挙型メンバ。この値は、現在のデバイスに対して列挙されている深度ステンシル形式1 つである必要があります

multiSampleType

マルチサンプリング バッファ タイプ記述する MultiSampleType 列挙型メンバ。この値は、このサーフェイスが SetRenderTarget で設定される DepthStencilSurface に渡されるときにサポートされるマルチサンプル タイプ1 つである必要があります

戻り値
作成され深度ステンシル サーフェイスリソースを表す Surface

例外例外
例外種類条件

NotAvailableException

現在のデバイスは、照会されたマルチサンプル タイプサポートしていません。

InvalidCallException

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

OutOfMemoryException

Direct3D は、呼び出し完了するためのメモリ不足してます。

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



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2024 GRAS Group, Inc.RSS