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

Bounds of a wait for a pending buffer mapping. More...

#include "donner/gpu/Descriptors.h"

Public Attributes

double sliceSeconds = 0.0
 Length of one wait slice. Must be greater than zero.
double timeoutSeconds = 0.0
 Total wait budget. Must be greater than zero.

Detailed Description

Bounds of a wait for a pending buffer mapping.

Both durations belong to the caller. A slice short enough to keep a UI responsive is a different number from one that suits a batch tool, so the runtime takes it rather than picking one.

Member Data Documentation

◆ sliceSeconds

double donner::gpu::MapWaitParams::sliceSeconds = 0.0

Length of one wait slice. Must be greater than zero.

◆ timeoutSeconds

double donner::gpu::MapWaitParams::timeoutSeconds = 0.0

Total wait budget. Must be greater than zero.


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