 |
VulkanDeviceCreateBufferT(Span, Void, T, BufferUsageFlags, Boolean, Boolean) Method |
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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