Click or drag to resize
Ab4d.SharpEngine logo

GpuBuffer(VulkanDevice, Int64, BufferUsageFlags, QueueFlags, MemoryPropertyFlags, Type, Int32, Boolean, Boolean, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public GpuBuffer(
	VulkanDevice vulkanDevice,
	long bufferSize,
	BufferUsageFlags usage,
	QueueFlags queueFamilies,
	MemoryPropertyFlags memoryProperties,
	Type itemType,
	int itemsCount,
	bool isPersistentlyMapped = false,
	bool isDedicatedAllocation = false,
	string? name = null
)

Parameters

vulkanDevice  VulkanDevice
vulkanDevice
bufferSize  Int64
bufferSize
usage  BufferUsageFlags
usage
queueFamilies  QueueFlags
queueFamilies
memoryProperties  MemoryPropertyFlags
memoryProperties
itemType  Type
type of each item in this buffer
itemsCount  Int32
number of items of itemType in this buffer
isPersistentlyMapped  Boolean  (Optional)
isPersistentlyMapped
isDedicatedAllocation  Boolean  (Optional)
isDedicatedAllocation
name  String  (Optional)
name
Exceptions
See Also