RenderContextBase.ReadDepthValues (Int32(), out Int32) Method

Reads depth values from the depth buffer.
Public Overridable Function ReadDepthValues( _ 
ByVal layoutViewport As Integer(), _ 
ByRef stride As Integer
) As Short()
This language is not supported or no code example is available.
public virtual short[] ReadDepthValues( 
int[] layoutViewport
out int stride 
)
This language is not supported or no code example is available.

Parameters

layoutViewport
int[]

stride
int

Return Value

short[]

The array of read depths.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition