 |
VulkanDeviceCreateBufferT(T, BufferUsageFlags, Boolean, Boolean, Boolean, String) Method |
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic GpuBuffer CreateBuffer<T>(
T[] data,
BufferUsageFlags usage,
bool isDeviceLocal,
bool canUseDeviceLocalHostVisibleMemory,
bool canUseBatchStagingDataUpload = true,
string? name = null
)
where T : struct, new()
Parameters
- data T
-
- usage BufferUsageFlags
-
- isDeviceLocal Boolean
-
- canUseDeviceLocalHostVisibleMemory Boolean
-
- canUseBatchStagingDataUpload Boolean (Optional)
-
- 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.Boolean,System.Boolean,System.String)"]
See Also