Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::BackendTextureExport Struct Reference

What a backend reports when it exports one of its textures. More...

#include "donner/gpu/TextureExport.h"

Public Attributes

std::shared_ptr< const ExportedTextureBacking > backing
 The native allocation, retained. Never null on success.
SourceOrdering ordering = SourceOrdering::WaitForSource
 How registrations of this texture are ordered after the producer's work.
std::shared_ptr< const SubmissionCompletion > completion
 The producer's completion. Required unless ordering is SourceOrdering::SharedQueue.
uint64_t contentSerial = 0
 Producer serial whose completion makes the texture's current contents final, counting work the backend performed outside the runtime's own record of submissions (queued uploads).
bool writePending = false
 Whether a write to the texture is queued for the producer's next submission and has not been carried by one yet.

Detailed Description

What a backend reports when it exports one of its textures.

Member Data Documentation

◆ backing

std::shared_ptr<const ExportedTextureBacking> donner::gpu::BackendTextureExport::backing

The native allocation, retained. Never null on success.

◆ completion

std::shared_ptr<const SubmissionCompletion> donner::gpu::BackendTextureExport::completion

The producer's completion. Required unless ordering is SourceOrdering::SharedQueue.

◆ contentSerial

uint64_t donner::gpu::BackendTextureExport::contentSerial = 0

Producer serial whose completion makes the texture's current contents final, counting work the backend performed outside the runtime's own record of submissions (queued uploads).

◆ ordering

SourceOrdering donner::gpu::BackendTextureExport::ordering = SourceOrdering::WaitForSource

How registrations of this texture are ordered after the producer's work.

◆ writePending

bool donner::gpu::BackendTextureExport::writePending = false

Whether a write to the texture is queued for the producer's next submission and has not been carried by one yet.


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