Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceCreateBufferT(T, BufferUsageFlags, QueueFlags, MemoryPropertyFlags, String) Method


Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public GpuBuffer CreateBuffer<T>(
	T[] data,
	BufferUsageFlags usage,
	QueueFlags queueFamilies,
	MemoryPropertyFlags memoryProperties,
	string? name = null
)
where T : struct, new()

Parameters

data  T
 
usage  BufferUsageFlags
 
queueFamilies  QueueFlags
 
memoryProperties  MemoryPropertyFlags
 
name  String  (Optional)
 

Type Parameters

T

Return Value

GpuBuffer
See Also