Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceCreateBufferT(T, BufferUsageFlags, Boolean, String) Method


Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public GpuBuffer CreateBuffer<T>(
	T[] data,
	BufferUsageFlags usage,
	bool isDeviceLocal,
	string? name = null
)
where T : struct, new()

Parameters

data  T
 
usage  BufferUsageFlags
 
isDeviceLocal  Boolean
 
name  String  (Optional)
 

Type Parameters

T

Return Value

GpuBuffer

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

See Also