Describes a buffer view. May be uniform or storage buffer. More...
#include <kanzi/gfx/create_info.hpp>
Public Attributes | |
| BufferHandleGuard | buffer |
| The buffer that contains the uniform or storage data and has the BufferUsageFlag::UniformBuffer or BufferUsageFlag::StorageBuffer set. | |
| uint32_t | offset |
| The offset into the buffer to bind in bytes. | |
| uint32_t | size |
| The size of the buffer in bytes. Setting the value as limits::MaxBufferSize defines the size as the rest of the buffer. | |
Describes a buffer view. May be uniform or storage buffer.
| BufferHandleGuard kanzi::gfx::ResourceSetCreateInfo::BufferView::buffer |
The buffer that contains the uniform or storage data and has the BufferUsageFlag::UniformBuffer or BufferUsageFlag::StorageBuffer set.
| uint32_t kanzi::gfx::ResourceSetCreateInfo::BufferView::offset |
The offset into the buffer to bind in bytes.
The offset must be a multiple of the current DevicePropertyId::UniformBufferOffsetAlignment.
| uint32_t kanzi::gfx::ResourceSetCreateInfo::BufferView::size |
The size of the buffer in bytes. Setting the value as limits::MaxBufferSize defines the size as the rest of the buffer.