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