Click or drag to resize
AB4D logo

DXDeviceCreateDepthStencilView(Int32, Int32, SampleDescription, String) Method

CreateDepthStencilView returns a DepthStencilView with the specified size and multisample description

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public DepthStencilView CreateDepthStencilView(
	int width,
	int height,
	SampleDescription sampleDescription,
	string name = "DepthStencilBuffer"
)

Parameters

width  Int32
width
height  Int32
height
sampleDescription  SampleDescription
multisample description
name  String  (Optional)
when set (is not null) and when using debug DirectX device, the DebugName for depthStencilBuffer will be set to name and DebugName for the depthStencilView will be set to name + "View". Default value is "DepthStencilBuffer".

Return Value

DepthStencilView
DepthStencilView
See Also