 |
VulkanDeviceCreateBufferT(Span`1, Void, T, BufferUsageFlags, Boolean, Boolean) Method |
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic GpuBuffer CreateBuffer<T>(
Span data,
void usage,
T isDeviceLocal,
BufferUsageFlags canUseDeviceLocalHostVisibleMemory,
bool canUseBatchStagingDataUpload = true,
bool name = default
)
where T : struct, new()
Parameters
- data Span
-
- usage Void
-
- isDeviceLocal T
-
- canUseDeviceLocalHostVisibleMemory BufferUsageFlags
-
- canUseBatchStagingDataUpload Boolean (Optional)
-
- name Boolean (Optional)
-
Type Parameters
- T
Return Value
GpuBuffer
See Also