Skip to content

TextStudio3DMemorySnapshot

StructTextStudio.ThreeDTextStudio.3D
public readonly struct TextStudio3DMemorySnapshot

On-demand payload accounting. Shared categories are process-wide and must not be added once per renderer. Referenced categories overlap their shared owners. Estimates exclude engine object overhead, driver padding, material textures, opaque font-parser internals, and transient generation allocations; they are not process memory.

public long InstanceMeshManagedBytes { get; }

Managed array payload owned by this renderer, with aliased mesh streams counted once.

Returns

System.Int64

public long InstanceAnimationNativeBytes { get; }

Persistent native animation descriptor capacity.

Returns

System.Int64

public long InstanceWritingManagedBytes { get; }

Retained writing mesh and texture upload buffers.

Returns

System.Int64

public long ReferencedMeshGpuBytes { get; }

Estimated GPU vertex and index payload for distinct output meshes, including leased meshes.

Returns

System.Int64

public long InstanceWritingGpuBytes { get; }

Estimated GPU writing texture payload.

Returns

System.Int64

public long ReferencedSharedAssemblyBytes { get; }

Shared assembly payload referenced by this renderer; also included in the shared cache or evicted-lease category.

Returns

System.Int64

public long SharedGlyphCacheBytes { get; }

Estimated payload retained by the shared glyph cache, including borrowed prepared records.

Returns

System.Int64

public long SharedAssemblyCacheBytes { get; }

Estimated payload retained by the shared assembly cache.

Returns

System.Int64

public long SharedEvictedLeasedAssemblyBytes { get; }

Assembly payload evicted from the cache but retained by live owners.

Returns

System.Int64

public long SharedScratchBytes { get; }

Known payload in returned geometry contexts and main-thread normal-processing scratch.

Returns

System.Int64

public long SharedEffectManagedBytes { get; }

Managed effect table records and owner metadata shared by all renderers.

Returns

System.Int64

public long SharedEffectGpuBytes { get; }

Allocated structured effect buffer capacity shared by all renderers.

Returns

System.Int64

public long ReferencedFontSourceBytes { get; }

Font source payload referenced by this renderer, which may also be referenced by other renderers.

Returns

System.Int64

public long InstanceOutlineCacheBytes { get; }

Local outline and codepoint cache payload estimates.

Returns

System.Int64