GLES30.GlGetTransformFeedbackVarying Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GlGetTransformFeedbackVarying(Int32, Int32, Int32, Int32[], Int32, Int32[], Int32, Int32[], Int32, Byte[], Int32) |
Queries a transform-feedback varying's name, element count, and type. |
| GlGetTransformFeedbackVarying(Int32, Int32, Int32, IntBuffer, IntBuffer, IntBuffer, SByte) |
Obsolete.
This member is deprecated. |
| GlGetTransformFeedbackVarying(Int32, Int32, IntBuffer, IntBuffer) |
Gets varying metadata using Android's potentially empty or truncated name helper. |
| GlGetTransformFeedbackVarying(Int32, Int32, Int32[], Int32, Int32[], Int32) |
Gets varying metadata using Android's potentially empty or truncated name helper. |
| GlGetTransformFeedbackVarying(Int32, Int32, Int32, IntBuffer, IntBuffer, IntBuffer, ByteBuffer) |
Queries a transform-feedback varying's name, element count, and type. |
GlGetTransformFeedbackVarying(Int32, Int32, Int32, Int32[], Int32, Int32[], Int32, Int32[], Int32, Byte[], Int32)
Queries a transform-feedback varying's name, element count, and type.
[Android.Runtime.Register("glGetTransformFeedbackVarying", "(III[II[II[II[BI)V", "")]
public static void GlGetTransformFeedbackVarying(int program, int index, int bufsize, int[]? length, int lengthOffset, int[]? size, int sizeOffset, int[]? type, int typeOffset, byte[]? name, int nameOffset);
[<Android.Runtime.Register("glGetTransformFeedbackVarying", "(III[II[II[II[BI)V", "")>]
static member GlGetTransformFeedbackVarying : int * int * int * int[] * int * int[] * int * int[] * int * byte[] * int -> unit
Parameters
- program
- Int32
The successfully linked program containing the transform-feedback varying.
- index
- Int32
A valid zero-based index in the program's linked transform-feedback varying list.
- bufsize
- Int32
The non-negative maximum number of name bytes, including the terminating zero.
- length
- Int32[]
An optional output array with one integer after lengthOffset; receives the name byte count excluding the terminating zero.
- lengthOffset
- Int32
The non-negative starting length-array index; ignored when length is null.
- size
- Int32[]
A non-null output array with room for one integer after sizeOffset; receives the varying's element count, not its vector-component count. Capacity is not checked.
- sizeOffset
- Int32
The non-negative starting element-count array index, measured in integers.
- type
- Int32[]
A non-null output array with room for one integer after typeOffset; receives the varying's GL type token. Capacity is not checked.
- typeOffset
- Int32
The non-negative starting type-array index, measured in integers.
- name
- Byte[]
A non-null output array with room for bufsize bytes after nameOffset. Capacity is not checked.
- nameOffset
- Int32
The non-negative starting name-array index, measured in 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
GlGetTransformFeedbackVarying(Int32, Int32, Int32, IntBuffer, IntBuffer, IntBuffer, SByte)
Caution
deprecated
This member is deprecated.
[Android.Runtime.Register("glGetTransformFeedbackVarying", "(IIILjava/nio/IntBuffer;Ljava/nio/IntBuffer;Ljava/nio/IntBuffer;B)V", "")]
[System.Obsolete("deprecated")]
public static void GlGetTransformFeedbackVarying(int program, int index, int bufsize, Java.Nio.IntBuffer? length, Java.Nio.IntBuffer? size, Java.Nio.IntBuffer? type, sbyte name);
[<Android.Runtime.Register("glGetTransformFeedbackVarying", "(IIILjava/nio/IntBuffer;Ljava/nio/IntBuffer;Ljava/nio/IntBuffer;B)V", "")>]
[<System.Obsolete("deprecated")>]
static member GlGetTransformFeedbackVarying : int * int * int * Java.Nio.IntBuffer * Java.Nio.IntBuffer * Java.Nio.IntBuffer * sbyte -> unit
Parameters
- program
- Int32
Unused program identifier; the native overload always throws UnsupportedOperationException.
- index
- Int32
Unused varying index; the native overload always throws UnsupportedOperationException.
- bufsize
- Int32
Unused output-size argument; no name storage is accessed by the unsupported native overload.
- length
- IntBuffer
Unused length-output buffer; the unsupported native overload writes no result.
- size
- IntBuffer
Unused varying-size output buffer; the unsupported native overload writes no result.
- type
- IntBuffer
Unused varying-type output buffer; the unsupported native overload writes no result.
- name
- SByte
Unused scalar byte; it cannot receive a varying name, and the native overload always throws UnsupportedOperationException.
- Attributes
Remarks
This member is deprecated. Use the version that takes a ByteBuffer as the last argument, or the versions that return a String.
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
GlGetTransformFeedbackVarying(Int32, Int32, IntBuffer, IntBuffer)
Gets varying metadata using Android's potentially empty or truncated name helper.
[Android.Runtime.Register("glGetTransformFeedbackVarying", "(IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;)Ljava/lang/String;", "")]
public static string? GlGetTransformFeedbackVarying(int program, int index, Java.Nio.IntBuffer? size, Java.Nio.IntBuffer? type);
[<Android.Runtime.Register("glGetTransformFeedbackVarying", "(IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;)Ljava/lang/String;", "")>]
static member GlGetTransformFeedbackVarying : int * int * Java.Nio.IntBuffer * Java.Nio.IntBuffer -> string
Parameters
- program
- Int32
The successfully linked program containing the transform-feedback varying.
- index
- Int32
A valid zero-based index in the program's linked transform-feedback varying list.
- size
- IntBuffer
A non-null direct, native-order writable buffer with one integer remaining for the varying's element count, not its vector-component count. Capacity is not checked; array-backed cleanup is unsafe.
- type
- IntBuffer
A non-null direct, native-order writable buffer with one integer remaining for the varying's GL type token. Capacity is not checked; array-backed cleanup is unsafe.
Returns
The varying name, potentially truncated because this helper sizes it from GL_ACTIVE_ATTRIBUTE_MAX_LENGTH rather than the varying-name limit. If that attribute-name length is zero, the helper returns an empty string without writing size or type.
- 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
GlGetTransformFeedbackVarying(Int32, Int32, Int32[], Int32, Int32[], Int32)
Gets varying metadata using Android's potentially empty or truncated name helper.
[Android.Runtime.Register("glGetTransformFeedbackVarying", "(II[II[II)Ljava/lang/String;", "")]
public static string? GlGetTransformFeedbackVarying(int program, int index, int[]? size, int sizeOffset, int[]? type, int typeOffset);
[<Android.Runtime.Register("glGetTransformFeedbackVarying", "(II[II[II)Ljava/lang/String;", "")>]
static member GlGetTransformFeedbackVarying : int * int * int[] * int * int[] * int -> string
Parameters
- program
- Int32
The successfully linked program containing the transform-feedback varying.
- index
- Int32
A valid zero-based index in the program's linked transform-feedback varying list.
- size
- Int32[]
A non-null output array with room for one integer after sizeOffset; receives the varying's element count, not its vector-component count. Capacity is not checked.
- sizeOffset
- Int32
The non-negative starting element-count array index, measured in integers.
- type
- Int32[]
A non-null output array with room for one integer after typeOffset; receives the varying's GL type token. Capacity is not checked.
- typeOffset
- Int32
The non-negative starting type-array index, measured in integers.
Returns
The varying name, potentially truncated because this helper sizes it from GL_ACTIVE_ATTRIBUTE_MAX_LENGTH rather than the varying-name limit. If that attribute-name length is zero, the helper returns an empty string without writing size or type.
- 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
GlGetTransformFeedbackVarying(Int32, Int32, Int32, IntBuffer, IntBuffer, IntBuffer, ByteBuffer)
Queries a transform-feedback varying's name, element count, and type.
[Android.Runtime.Register("glGetTransformFeedbackVarying", "(IIILjava/nio/IntBuffer;Ljava/nio/IntBuffer;Ljava/nio/IntBuffer;Ljava/nio/ByteBuffer;)V", "", ApiSince=24)]
public static void GlGetTransformFeedbackVarying(int program, int index, int bufsize, Java.Nio.IntBuffer? length, Java.Nio.IntBuffer? size, Java.Nio.IntBuffer? type, Java.Nio.ByteBuffer? name);
[<Android.Runtime.Register("glGetTransformFeedbackVarying", "(IIILjava/nio/IntBuffer;Ljava/nio/IntBuffer;Ljava/nio/IntBuffer;Ljava/nio/ByteBuffer;)V", "", ApiSince=24)>]
static member GlGetTransformFeedbackVarying : int * int * int * Java.Nio.IntBuffer * Java.Nio.IntBuffer * Java.Nio.IntBuffer * Java.Nio.ByteBuffer -> unit
Parameters
- program
- Int32
The successfully linked program containing the transform-feedback varying.
- index
- Int32
A valid zero-based index in the program's linked transform-feedback varying list.
- bufsize
- Int32
The non-negative maximum number of name bytes, including the terminating zero.
- length
- IntBuffer
A non-null direct, native-order writable buffer with one integer remaining for the name byte count excluding the terminating zero. This overload does not support a null length buffer.
- size
- IntBuffer
A non-null direct, native-order writable buffer with one integer remaining for the varying's element count, not its vector-component count. Capacity is not checked; array-backed cleanup is unsafe.
- type
- IntBuffer
A non-null direct, native-order writable buffer with one integer remaining for the varying's GL type token. Capacity is not checked; array-backed cleanup is unsafe.
- name
- ByteBuffer
A non-null direct writable ByteBuffer with at least bufsize bytes remaining. Capacity is not checked; array-backed cleanup is unsafe.
- 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.