VulkanBuffer
Models & Types · AiDotNet.Tensors.Engines.DirectGpu.Vulkan
No summary documentation available yet.
Implements: IDisposable
Properties
| Property | Summary |
|---|---|
IntPtr Handle { get; } |
|
IntPtr Memory { get; } |
|
bool IsHostVisible { get; } |
|
int ElementCount { get; } |
|
ulong Offset { get; } |
|
ulong SizeInBytes { get; } |
Methods
| Method | Summary |
|---|---|
VkDescriptorBufferInfo GetDescriptorInfo() |
|
VulkanBuffer CreateStagingBuffer(int elementCount) |
|
VulkanBuffer CreateStorageBuffer(int elementCount) |
|
VulkanBuffer CreateUniformBuffer(int sizeBytes) |
|
void Dispose() |
|
void ReadData(Span<float> data) |
|
void ReadRawBytes(byte[] data) |
|
void WriteData(ReadOnlySpan<float> data) |
|
void WriteRawData(ReadOnlySpan<T> data) |