struct
#include <VaultedVulkan/VV_Resource.hpp>
BufferView A buffer view represents a contiguous range of a buffer and a specific format to be used to interpret the data.
Contents
Buffer views are used to enable shaders to access buffer contents interpreted as formatted data. In order to create a valid buffer view, the buffer must have been created with at least one of the following usage flags: UnformTexelBuffer or StorageTexelBuffer
Derived classes
- struct VV::V2::BufferView
- A buffer view represents a contiguous range of a buffer and a specific format to be used to interpret the data.
Public types
- struct CreateInfo
- Specification
- using Handle = VkBufferView
- Specification
- using CreateFlags = Bitfield<EUndefined, VkBufferViewCreateFlags>
- Specification
Public static functions
-
static auto Create(LogicalDevice::
Handle _device, const CreateInfo& _info, const Memory:: AllocationCallbacks* _allocator, Handle& _bufferView) -> EResult - Create a new buffer view object.
-
static void Destroy(LogicalDevice::
Handle _device, Handle _bufferView, const Memory:: AllocationCallbacks* _allocator) - Destroy a buffer view object.