Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::SetIndexBufferCommand Struct Reference

Recorded setIndexBuffer. The bound range runs from offsetBytes to the end of the buffer. More...

#include "donner/gpu/Commands.h"

Public Attributes

ResourceIdentity bufferId
 Buffer identity.
IndexFormat format = IndexFormat::Uint16
 Width of each index.
uint64_t offsetBytes = 0
 Byte offset of the first index.

Detailed Description

Recorded setIndexBuffer. The bound range runs from offsetBytes to the end of the buffer.

Member Data Documentation

◆ bufferId

ResourceIdentity donner::gpu::SetIndexBufferCommand::bufferId

Buffer identity.

◆ format

IndexFormat donner::gpu::SetIndexBufferCommand::format = IndexFormat::Uint16

Width of each index.

◆ offsetBytes

uint64_t donner::gpu::SetIndexBufferCommand::offsetBytes = 0

Byte offset of the first index.


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