GL.BufferData Method

Definition

Overloads

BufferData(All, IntPtr, IntPtr, All)
Obsolete.
BufferData(BufferTarget, IntPtr, IntPtr, BufferUsage)
BufferData<T2>(BufferTarget, IntPtr, T2[,], BufferUsage)
BufferData<T2>(BufferTarget, IntPtr, T2[], BufferUsage)
BufferData<T2>(BufferTarget, IntPtr, T2, BufferUsage)
BufferData<T2>(BufferTarget, IntPtr, T2[,,], BufferUsage)
BufferData<T2>(All, IntPtr, T2[,], All)
Obsolete.
BufferData<T2>(All, IntPtr, T2[], All)
Obsolete.
BufferData<T2>(All, IntPtr, T2[,,], All)
Obsolete.
BufferData<T2>(All, IntPtr, T2, All)
Obsolete.

BufferData(All, IntPtr, IntPtr, All)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBufferData", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void BufferData (OpenTK.Graphics.ES20.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.All usage);
static member BufferData : OpenTK.Graphics.ES20.All * nativeint * nativeint * OpenTK.Graphics.ES20.All -> unit

Parameters

target
All
size
IntPtr

nativeint

data
IntPtr

nativeint

usage
All
Attributes

Applies to

BufferData(BufferTarget, IntPtr, IntPtr, BufferUsage)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBufferData", Version="2.0")]
public static void BufferData (OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage);
static member BufferData : OpenTK.Graphics.ES20.BufferTarget * nativeint * nativeint * OpenTK.Graphics.ES20.BufferUsage -> unit

Parameters

target
BufferTarget
size
IntPtr

nativeint

data
IntPtr

nativeint

usage
BufferUsage
Attributes

Applies to

BufferData<T2>(BufferTarget, IntPtr, T2[,], BufferUsage)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBufferData", Version="2.0")]
public static void BufferData<T2> (OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, T2[,] data, OpenTK.Graphics.ES20.BufferUsage usage) where T2 : struct;
static member BufferData : OpenTK.Graphics.ES20.BufferTarget * nativeint * 'T2[,] * OpenTK.Graphics.ES20.BufferUsage -> unit (requires 'T2 : struct)

Type Parameters

T2

Parameters

target
BufferTarget
size
IntPtr

nativeint

data
T2[,]
usage
BufferUsage
Attributes

Applies to

BufferData<T2>(BufferTarget, IntPtr, T2[], BufferUsage)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBufferData", Version="2.0")]
public static void BufferData<T2> (OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, T2[] data, OpenTK.Graphics.ES20.BufferUsage usage) where T2 : struct;
static member BufferData : OpenTK.Graphics.ES20.BufferTarget * nativeint * 'T2[] * OpenTK.Graphics.ES20.BufferUsage -> unit (requires 'T2 : struct)

Type Parameters

T2

Parameters

target
BufferTarget
size
IntPtr

nativeint

data
T2[]
usage
BufferUsage
Attributes

Applies to

BufferData<T2>(BufferTarget, IntPtr, T2, BufferUsage)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBufferData", Version="2.0")]
public static void BufferData<T2> (OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, out T2 data, OpenTK.Graphics.ES20.BufferUsage usage) where T2 : struct;
static member BufferData : OpenTK.Graphics.ES20.BufferTarget * nativeint *  * OpenTK.Graphics.ES20.BufferUsage -> unit (requires 'T2 : struct)

Type Parameters

T2

Parameters

target
BufferTarget
size
IntPtr

nativeint

data
T2
usage
BufferUsage
Attributes

Applies to

BufferData<T2>(BufferTarget, IntPtr, T2[,,], BufferUsage)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBufferData", Version="2.0")]
public static void BufferData<T2> (OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, T2[,,] data, OpenTK.Graphics.ES20.BufferUsage usage) where T2 : struct;
static member BufferData : OpenTK.Graphics.ES20.BufferTarget * nativeint * 'T2[,,] * OpenTK.Graphics.ES20.BufferUsage -> unit (requires 'T2 : struct)

Type Parameters

T2

Parameters

target
BufferTarget
size
IntPtr

nativeint

data
T2[,,]
usage
BufferUsage
Attributes

Applies to

BufferData<T2>(All, IntPtr, T2[,], All)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBufferData", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void BufferData<T2> (OpenTK.Graphics.ES20.All target, IntPtr size, T2[,] data, OpenTK.Graphics.ES20.All usage) where T2 : struct;
static member BufferData : OpenTK.Graphics.ES20.All * nativeint * 'T2[,] * OpenTK.Graphics.ES20.All -> unit (requires 'T2 : struct)

Type Parameters

T2

Parameters

target
All
size
IntPtr

nativeint

data
T2[,]
usage
All
Attributes

Applies to

BufferData<T2>(All, IntPtr, T2[], All)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBufferData", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void BufferData<T2> (OpenTK.Graphics.ES20.All target, IntPtr size, T2[] data, OpenTK.Graphics.ES20.All usage) where T2 : struct;
static member BufferData : OpenTK.Graphics.ES20.All * nativeint * 'T2[] * OpenTK.Graphics.ES20.All -> unit (requires 'T2 : struct)

Type Parameters

T2

Parameters

target
All
size
IntPtr

nativeint

data
T2[]
usage
All
Attributes

Applies to

BufferData<T2>(All, IntPtr, T2[,,], All)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBufferData", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void BufferData<T2> (OpenTK.Graphics.ES20.All target, IntPtr size, T2[,,] data, OpenTK.Graphics.ES20.All usage) where T2 : struct;
static member BufferData : OpenTK.Graphics.ES20.All * nativeint * 'T2[,,] * OpenTK.Graphics.ES20.All -> unit (requires 'T2 : struct)

Type Parameters

T2

Parameters

target
All
size
IntPtr

nativeint

data
T2[,,]
usage
All
Attributes

Applies to

BufferData<T2>(All, IntPtr, T2, All)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glBufferData", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void BufferData<T2> (OpenTK.Graphics.ES20.All target, IntPtr size, out T2 data, OpenTK.Graphics.ES20.All usage) where T2 : struct;
static member BufferData : OpenTK.Graphics.ES20.All * nativeint *  * OpenTK.Graphics.ES20.All -> unit (requires 'T2 : struct)

Type Parameters

T2

Parameters

target
All
size
IntPtr

nativeint

data
T2
usage
All
Attributes

Applies to