|
DXDeviceCreateDepthStencilView(Int32, Int32, SampleDescription, String) Method |
CreateDepthStencilView returns a DepthStencilView with the specified size and multisample description
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax 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
DepthStencilViewDepthStencilView
See Also