Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceCreateBufferT(T, Int32, BufferUsageFlags, Boolean, Boolean, String) Method


Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public GpuBuffer CreateBuffer<T>(
	T[] data,
	int dataItemsCount,
	BufferUsageFlags usage,
	bool isDeviceLocal = true,
	bool canUseBatchStagingDataUpload = true,
	string? name = null
)
where T : struct, new()

Parameters

data  T
 
dataItemsCount  Int32
 
usage  BufferUsageFlags
 
isDeviceLocal  Boolean  (Optional)
 
canUseBatchStagingDataUpload  Boolean  (Optional)
 
name  String  (Optional)
 

Type Parameters

T

Return Value

GpuBuffer

[Missing <returns> documentation for "M:Ab4d.SharpEngine.Vulkan.VulkanDevice.CreateBuffer``1(``0[],System.Int32,Ab4d.Vulkan.BufferUsageFlags,System.Boolean,System.Boolean,System.String)"]

See Also