Edit

Share via


GL.TexImage2D Method

Definition

Overloads

TexImage2D(All, Int32, Int32, Int32, Int32, Int32, All, All, IntPtr)
Obsolete.
TexImage2D(TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[])
Obsolete.
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8)
Obsolete.
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,,])
Obsolete.
TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,])
Obsolete.
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(All, Int32, Int32, Int32, Int32, Int32, All, All, IntPtr)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glTexImage2D", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void TexImage2D (OpenTK.Graphics.ES20.All target, int level, int internalformat, int width, int height, int border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
static member TexImage2D : OpenTK.Graphics.ES20.All * int * int * int * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All * nativeint -> unit

Parameters

target
All
level
Int32
internalformat
Int32
width
Int32
height
Int32
border
Int32
format
All
type
All
pixels
IntPtr

nativeint

Attributes

Applies to

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

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

Parameters

target
TextureTarget
level
Int32
internalformat
PixelInternalFormat
width
Int32
height
Int32
border
Int32
format
PixelFormat
type
PixelType
pixels
IntPtr

nativeint

Attributes

Applies to

TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[])

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glTexImage2D", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void TexImage2D<T8> (OpenTK.Graphics.ES20.All target, int level, int internalformat, int width, int height, int border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, T8[] pixels) where T8 : struct;
static member TexImage2D : OpenTK.Graphics.ES20.All * int * int * int * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All * 'T8[] -> unit (requires 'T8 : struct)

Type Parameters

T8

Parameters

target
All
level
Int32
internalformat
Int32
width
Int32
height
Int32
border
Int32
format
All
type
All
pixels
T8[]
Attributes

Applies to

TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glTexImage2D", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void TexImage2D<T8> (OpenTK.Graphics.ES20.All target, int level, int internalformat, int width, int height, int border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, out T8 pixels) where T8 : struct;
static member TexImage2D : OpenTK.Graphics.ES20.All * int * int * int * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All *  -> unit (requires 'T8 : struct)

Type Parameters

T8

Parameters

target
All
level
Int32
internalformat
Int32
width
Int32
height
Int32
border
Int32
format
All
type
All
pixels
T8
Attributes

Applies to

TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,,])

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glTexImage2D", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void TexImage2D<T8> (OpenTK.Graphics.ES20.All target, int level, int internalformat, int width, int height, int border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, T8[,,] pixels) where T8 : struct;
static member TexImage2D : OpenTK.Graphics.ES20.All * int * int * int * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All * 'T8[,,] -> unit (requires 'T8 : struct)

Type Parameters

T8

Parameters

target
All
level
Int32
internalformat
Int32
width
Int32
height
Int32
border
Int32
format
All
type
All
pixels
T8[,,]
Attributes

Applies to

TexImage2D<T8>(All, Int32, Int32, Int32, Int32, Int32, All, All, T8[,])

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glTexImage2D", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void TexImage2D<T8> (OpenTK.Graphics.ES20.All target, int level, int internalformat, int width, int height, int border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, T8[,] pixels) where T8 : struct;
static member TexImage2D : OpenTK.Graphics.ES20.All * int * int * int * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All * 'T8[,] -> unit (requires 'T8 : struct)

Type Parameters

T8

Parameters

target
All
level
Int32
internalformat
Int32
width
Int32
height
Int32
border
Int32
format
All
type
All
pixels
T8[,]
Attributes

Applies to

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

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

Type Parameters

T8

Parameters

target
TextureTarget
level
Int32
internalformat
PixelInternalFormat
width
Int32
height
Int32
border
Int32
format
PixelFormat
type
PixelType
pixels
T8
Attributes

Applies to

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

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

Type Parameters

T8

Parameters

target
TextureTarget
level
Int32
internalformat
PixelInternalFormat
width
Int32
height
Int32
border
Int32
format
PixelFormat
type
PixelType
pixels
T8[,,]
Attributes

Applies to

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

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

Type Parameters

T8

Parameters

target
TextureTarget
level
Int32
internalformat
PixelInternalFormat
width
Int32
height
Int32
border
Int32
format
PixelFormat
type
PixelType
pixels
T8[,]
Attributes

Applies to

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

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

Type Parameters

T8

Parameters

target
TextureTarget
level
Int32
internalformat
PixelInternalFormat
width
Int32
height
Int32
border
Int32
format
PixelFormat
type
PixelType
pixels
T8[]
Attributes

Applies to