 |
GpuBuffer(VulkanDevice, BufferCreateInfo, MemoryPropertyFlags, Type, Int32, Boolean, Boolean, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.CoreAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic GpuBuffer(
VulkanDevice vulkanDevice,
BufferCreateInfo bufferCreateInfo,
MemoryPropertyFlags memoryProperties,
Type itemType,
int itemsCount,
bool isPersistentlyMapped = false,
bool isDedicatedAllocation = false,
string? name = null
)
Parameters
- vulkanDevice VulkanDevice
- vulkanDevice
- bufferCreateInfo BufferCreateInfo
- bufferCreateInfo
- 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
ExceptionsException | Condition |
---|
ArgumentNullException | |
ArgumentException | |
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Core.GpuBuffer.#ctor(Ab4d.SharpEngine.Vulkan.VulkanDevice,Ab4d.Vulkan.BufferCreateInfo,Ab4d.Vulkan.MemoryPropertyFlags,System.Type,System.Int32,System.Boolean,System.Boolean,System.String)"]
See Also