Skip to content

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

Inheritance Hierarchy

  • GPUBuffer

Syntax

public class GPUBuffer : Buffer

Constructors

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.

Properties

name description
ElementCount return the current element count of this buffer.

Methods

prototype description

Events

name description
Clone this wiki locally