Bearbeiten

Freigeben über


GL.BufferData Method

Definition

Overloads

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(BufferTarget, IntPtr, IntPtr, BufferUsage)

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

Type Parameters

T2

Parameters

target
BufferTarget
size
IntPtr

nativeint

data
T2[,,]
usage
BufferUsage
Attributes

Applies to