Język

GLES20.GlDepthRangef(Single, Single) Method

Definition

Sets the near and far window-depth mapping using floating-point values.

[Android.Runtime.Register("glDepthRangef", "(FF)V", "")]
public static void GlDepthRangef(float zNear, float zFar);
[<Android.Runtime.Register("glDepthRangef", "(FF)V", "")>]
static member GlDepthRangef : single * single -> unit

Parameters

zNear
Single

The near-plane window-depth value, clamped to zero through one.

zFar
Single

The far-plane window-depth value, clamped to zero through one.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to