Bearbeiten

Freigeben über


GL.TexImage2D Method

Definition

Overloads

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(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

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

nativeint

Attributes

Applies to

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

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="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

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="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

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="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

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

Applies to