Język

GLES11.GlPointParameterfv Method

Definition

Overloads

Name Description
GlPointParameterfv(Int32, Single[], Int32)

Sets point-size controls or distance attenuation from floating-point values.

GlPointParameterfv(Int32, FloatBuffer)

Sets point-size controls or distance attenuation from floating-point values.

GlPointParameterfv(Int32, Single[], Int32)

Sets point-size controls or distance attenuation from floating-point values.

[Android.Runtime.Register("glPointParameterfv", "(I[FI)V", "")]
public static void GlPointParameterfv(int pname, float[]? params, int offset);
[<Android.Runtime.Register("glPointParameterfv", "(I[FI)V", "")>]
static member GlPointParameterfv : int * single[] * int -> unit

Parameters

pname
Int32

GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, or GL_POINT_DISTANCE_ATTENUATION.

params
Single[]

A non-null input array, starting at offset, with room for three distance-attenuation coefficients or one scalar control. The JNI size test checks only one value, not all three attenuation coefficients.

offset
Int32

The non-negative starting array index, measured in elements rather than bytes.

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

GlPointParameterfv(Int32, FloatBuffer)

Sets point-size controls or distance attenuation from floating-point values.

[Android.Runtime.Register("glPointParameterfv", "(ILjava/nio/FloatBuffer;)V", "")]
public static void GlPointParameterfv(int pname, Java.Nio.FloatBuffer? params);
[<Android.Runtime.Register("glPointParameterfv", "(ILjava/nio/FloatBuffer;)V", "")>]
static member GlPointParameterfv : int * Java.Nio.FloatBuffer -> unit

Parameters

pname
Int32

GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, or GL_POINT_DISTANCE_ATTENUATION.

params
FloatBuffer

A non-null native-order input buffer (direct or accessible array-backed), starting at its current position, with room for three distance-attenuation coefficients or one scalar control. The array-backed path releases the position-adjusted pointer. The JNI minimum-size test compares bytes with scalar counts. The JNI size test checks only one value, not all three attenuation coefficients. Use a direct buffer to avoid this release path.

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