Click or drag to resize
AB4D logo

DXDeviceCreateDepthStencilBuffer Method

CreateDepthStencilBuffer returns a Texture2D that represents a DepthStencilBuffer with the specified size, multisample description and format

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public virtual Texture2D CreateDepthStencilBuffer(
	int width,
	int height,
	SampleDescription sampleDescription,
	Format format
)

Parameters

width  Int32
width
height  Int32
height
sampleDescription  SampleDescription
multisample description
format  Format
format

Return Value

Texture2D
Texture2D
See Also