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[]

<default>

stride
int

<default>

Return Value

short[]

The array of read depths.

.NET Framework

Supported in: 4.8

In this article

Definition