Click or drag to resize
Ab4d.SharpEngine logo

GpuBuffer(VulkanDevice, Buffer, VulkanMemoryInfo, Type, Int32, Boolean, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public GpuBuffer(
	VulkanDevice vulkanDevice,
	Buffer buffer,
	VulkanMemoryInfo gpuMemory,
	Type itemType,
	int itemsCount,
	bool isPersistentlyMapped = false,
	string? name = null
)

Parameters

vulkanDevice  VulkanDevice
vulkanDevice
buffer  Buffer
buffer
gpuMemory  VulkanMemoryInfo
gpuMemory
itemType  Type
type of each item in this buffer
itemsCount  Int32
number of items of itemType in this buffer
isPersistentlyMapped  Boolean  (Optional)
isPersistentlyMapped
name  String  (Optional)
name
Exceptions
See Also