Kanzi 4.0.0-beta2
kanzi::gfx::VertexBufferBinding Struct Reference

Describes a Vertex Buffer Binding. More...

#include <kanzi/gfx/commands.hpp>

Public Attributes

BufferHandleGuard buffer
 The buffer handle. Buffer must have BufferUsageFlag::VertexBuffer.
 
uint32_t offset
 The buffer offset in bytes. The offset must be such that the alignments of all vertex attributes of the binding remain valid.
 

Detailed Description

Describes a Vertex Buffer Binding.

Since
Kanzi 4.0.0

Member Data Documentation

◆ buffer

BufferHandleGuard kanzi::gfx::VertexBufferBinding::buffer

The buffer handle. Buffer must have BufferUsageFlag::VertexBuffer.

◆ offset

uint32_t kanzi::gfx::VertexBufferBinding::offset

The buffer offset in bytes. The offset must be such that the alignments of all vertex attributes of the binding remain valid.


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