RefCountKey Struct

Value-type ref-counting key that avoids boxing the per-asset-type cache keys (tuples, strings) into object.

internal readonly record struct RefCountKey : System.IEquatable<Brine2D.Assets.RefCountKey>

Implements System.IEquatable<RefCountKey>

Properties
Discriminator Type-specific discriminator: TextureScaleMode for textures, point size for fonts, 0 otherwise.
Kind The asset category this key identifies.
Path Normalized asset path (lowercased, forward-slash separated).