-
-
Notifications
You must be signed in to change notification settings - Fork 3
vke.GPUBuffer
Jean-Philippe Bruyère edited this page Feb 2, 2020
·
1 revision
Device
local Buffer
for an array of elements of type T.
namespace: vke
GPUBuffer
public class GPUBuffer : Buffer
⬜ | prototype | description |
---|---|---|
![]() |
GPUBuffer (Device device, VkBufferUsageFlags usage, UInt64 size) |
__ |
![]() |
GPUBuffer (Device device, VkBufferUsageFlags usage, int elementCount) |
Create an empty new device local buffer with the size needed to store the specified item count of type T. |
![]() |
GPUBuffer (Queue staggingQ, CommandPool staggingCmdPool, VkBufferUsageFlags usage, T[] elements) |
Create and polulate by copy a new device local buffer. |
⬜ | name | description |
---|---|---|
![]() |
ElementCount |
return the current element count of this buffer. |
⬜ | prototype | description |
---|
⬜ | name | description |
---|