Language

IGL10.GlBindTexture(Int32, Int32) Method

Definition

Binds a named texture to a texture target.

[Android.Runtime.Register("glBindTexture", "(II)V", "GetGlBindTexture_IIHandler:Javax.Microedition.Khronos.Opengles.IGL10Invoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void GlBindTexture(int target, int texture);
[<Android.Runtime.Register("glBindTexture", "(II)V", "GetGlBindTexture_IIHandler:Javax.Microedition.Khronos.Opengles.IGL10Invoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GlBindTexture : int * int -> unit

Parameters

target
Int32

The texture target to bind. In OpenGL ES 1.0, this must be GL_TEXTURE_2D.

texture
Int32

The name of the texture to bind. Specify zero to select the target's default texture.

Attributes

Remarks

See the Khronos OpenGL ES reference for glBindTexture.

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