Język

GLES20.GlPolygonOffset(Single, Single) Method

Definition

Sets the slope-dependent and constant polygon depth-offset factors.

[Android.Runtime.Register("glPolygonOffset", "(FF)V", "")]
public static void GlPolygonOffset(float factor, float units);
[<Android.Runtime.Register("glPolygonOffset", "(FF)V", "")>]
static member GlPolygonOffset : single * single -> unit

Parameters

factor
Single

The multiplier for the polygon's maximum depth slope.

units
Single

The multiplier for the implementation's resolvable depth-offset unit.

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