Language

GLES30.GlTexStorage2D(Int32, Int32, Int32, Int32, Int32) Method

Definition

Allocates immutable mipmap storage for a two-dimensional texture or cube map.

[Android.Runtime.Register("glTexStorage2D", "(IIIII)V", "")]
public static void GlTexStorage2D(int target, int levels, int internalformat, int width, int height);
[<Android.Runtime.Register("glTexStorage2D", "(IIIII)V", "")>]
static member GlTexStorage2D : int * int * int * int * int -> unit

Parameters

target
Int32

GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP.

levels
Int32

The positive number of mipmap levels to allocate.

internalformat
Int32

The supported sized internal texture format.

width
Int32

The base-level width in texels.

height
Int32

The base-level height in texels.

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