Kanzi 4.0.0-beta2
kanzi::StagingBufferUpload Struct Reference

Represents a staging buffer upload. More...

#include <kanzi/core.ui/graphics/rolling_staging_buffer.hpp>

Public Attributes

gfx::BufferHandleGuard buffer
 The Kanzi graphics buffer handle that contains the data.
 
uint16_t generation
 The generation. Used to determine when an upload is stale.
 
uint32_t offset
 An offset into the buffer where the data is located.
 

Detailed Description

Represents a staging buffer upload.

Member Data Documentation

◆ generation

uint16_t kanzi::StagingBufferUpload::generation

The generation. Used to determine when an upload is stale.

◆ buffer

gfx::BufferHandleGuard kanzi::StagingBufferUpload::buffer

The Kanzi graphics buffer handle that contains the data.

◆ offset

uint32_t kanzi::StagingBufferUpload::offset

An offset into the buffer where the data is located.


The documentation for this struct was generated from the following file: