RenderContextBase.SetState (depthStencilStateType) Method

Sets the depth stencil state type.
Public Function SetState( _ 
ByVal state As depthStencilStateType
) As depthStencilStateType
This language is not supported or no code example is available.
public depthStencilStateType SetState( 
depthStencilStateType state 
)
This language is not supported or no code example is available.

Parameters

state
depthStencilStateType

The new state

Return Value

depthStencilStateType

The previous state.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition