API Reference · Controls

PrepareProgress

Namespace: Ava3D

public readonly record struct PrepareProgress

How far Ava3DView.PrepareAsync has got, reported through its IProgress.

Properties

MemberDescription
int Resident { get; set; }

How many of the scene's textures, meshes and instance buffers are resident.

long ResidentBytes { get; set; }

Bytes of the scene's resources on the device so far.

int Total { get; set; }

How many the scene has in total.

long TotalBytes { get; set; }

Bytes the whole scene will occupy, as far as it is known: the size of everything already resident plus an estimate for what is still to come — raw pixels as they are, encoded images at their declared size where they have one, meshes at their interleaved vertex size. It grows as decoding finds out what an image really is.

See also