GL.TexImage2D GL.TexImage2D Method

Definition

Overloads

TexImage2D(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr) TexImage2D(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)
TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8) TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8)
TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[,,]) TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[,,])
TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[,]) TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[,])
TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[]) TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[])

TexImage2D(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr) TexImage2D(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glTexImage2D", Version="3.0")]
public static void TexImage2D (OpenTK.Graphics.ES30.TextureTarget target, int level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, int width, int height, int border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
static member TexImage2D : OpenTK.Graphics.ES30.TextureTarget * int * OpenTK.Graphics.ES30.PixelInternalFormat * int * int * int * OpenTK.Graphics.ES30.PixelFormat * OpenTK.Graphics.ES30.PixelType * nativeint -> unit

Parameters

level
Int32 Int32
width
Int32 Int32
height
Int32 Int32
border
Int32 Int32
pixels
IntPtr IntPtr

TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8) TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8)

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glTexImage2D", Version="3.0")]
public static void TexImage2D<T8> (OpenTK.Graphics.ES30.TextureTarget target, int level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, int width, int height, int border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, out T8 pixels) where T8 : struct;
static member TexImage2D : OpenTK.Graphics.ES30.TextureTarget * int * OpenTK.Graphics.ES30.PixelInternalFormat * int * int * int * OpenTK.Graphics.ES30.PixelFormat * OpenTK.Graphics.ES30.PixelType *  -> unit (requires 'T8 : struct)

Type Parameters

T8

Parameters

level
Int32 Int32
width
Int32 Int32
height
Int32 Int32
border
Int32 Int32
pixels

TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[,,]) TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[,,])

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glTexImage2D", Version="3.0")]
public static void TexImage2D<T8> (OpenTK.Graphics.ES30.TextureTarget target, int level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, int width, int height, int border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, T8[,,] pixels) where T8 : struct;
static member TexImage2D : OpenTK.Graphics.ES30.TextureTarget * int * OpenTK.Graphics.ES30.PixelInternalFormat * int * int * int * OpenTK.Graphics.ES30.PixelFormat * OpenTK.Graphics.ES30.PixelType * 'T8[,,] -> unit (requires 'T8 : struct)

Type Parameters

T8

Parameters

level
Int32 Int32
width
Int32 Int32
height
Int32 Int32
border
Int32 Int32
pixels

TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[,]) TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[,])

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glTexImage2D", Version="3.0")]
public static void TexImage2D<T8> (OpenTK.Graphics.ES30.TextureTarget target, int level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, int width, int height, int border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, T8[,] pixels) where T8 : struct;
static member TexImage2D : OpenTK.Graphics.ES30.TextureTarget * int * OpenTK.Graphics.ES30.PixelInternalFormat * int * int * int * OpenTK.Graphics.ES30.PixelFormat * OpenTK.Graphics.ES30.PixelType * 'T8[,] -> unit (requires 'T8 : struct)

Type Parameters

T8

Parameters

level
Int32 Int32
width
Int32 Int32
height
Int32 Int32
border
Int32 Int32
pixels

TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[]) TexImage2D<T8>(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, T8[])

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glTexImage2D", Version="3.0")]
public static void TexImage2D<T8> (OpenTK.Graphics.ES30.TextureTarget target, int level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, int width, int height, int border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, T8[] pixels) where T8 : struct;
static member TexImage2D : OpenTK.Graphics.ES30.TextureTarget * int * OpenTK.Graphics.ES30.PixelInternalFormat * int * int * int * OpenTK.Graphics.ES30.PixelFormat * OpenTK.Graphics.ES30.PixelType * 'T8[] -> unit (requires 'T8 : struct)

Type Parameters

T8

Parameters

level
Int32 Int32
width
Int32 Int32
height
Int32 Int32
border
Int32 Int32
pixels
T8[]

Applies to