Device.CreateDepthStencilSurface(Int32,Int32,DepthFormat,MultiSampleType,Int32,Boolean)
CreateDepthStencilSurface メソッド
深度ステンシル リソースを作成する。
定義
Visual Basic | Public Function CreateDepthStencilSurface( _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal format As DepthFormat, _ ByVal multiSample As MultiSampleType, _ ByVal multiSampleQuality As Integer, _ ByVal discard As Boolean _ ) As Surface |
C# | public Surface CreateDepthStencilSurface( int width, int height, DepthFormat format, MultiSampleType multiSample, int multiSampleQuality, bool discard ); |
Managed C++ | public: Surface* CreateDepthStencilSurface( int width, int height, DepthFormat format, MultiSampleType multiSample, int multiSampleQuality, bool discard ); |
JScript | public function CreateDepthStencilSurface( width : int, height : int, format : DepthFormat, multiSample : MultiSampleType, multiSampleQuality : int, discard : boolean ) : Surface; |
パラメータ
width | System.Int32. |
height | System.Int32. |
format | Microsoft.DirectX.Direct3D.DepthFormat. |
multiSample | Microsoft.DirectX.Direct3D.MultiSampleType. |
multiSampleQuality | System.Int32. |
discard | System.Boolean. |
戻り値
Microsoft.DirectX.Direct3D.Surface.
対象
© 2002 Microsoft Corporation. All rights reserved. Terms of use.