[]
Constructs a new DepthStencilState based on the specified description.
public static DepthStencilState Create(Device device, DepthStencilStateDescription description)
Public Shared Function Create(device As Device, description As DepthStencilStateDescription) As DepthStencilState
| Type | Name | Description |
|---|---|---|
| Device | device | The device with which to associate the state object. |
| DepthStencilStateDescription | description | The state description. |
| Type | Description |
|---|---|
| DepthStencilState |