API Reference · Controls

ScenePreparation

Namespace: Ava3D

public sealed record class ScenePreparation

What Ava3DView.PrepareAsync did, once it has finished.

Properties

MemberDescription
long Bytes { get; set; }

How many bytes those uploads put on the device.

TimeSpan Elapsed { get; set; }

How long it took, from the call to the first frame on which everything was resident.

bool Resident { get; set; }

Whether everything the scene draws is on the device. True on completion; the task is cancelled rather than completed with false when the caller cancels or the view is taken out of the tree first.

int Uploads { get; set; }

How many uploads the preparation made — textures already resident from an earlier scene cost none.

See also