package p.studio.workspaces.assets.metadata;

import java.util.Objects;

public record AssetStudioMetadataSnapshot(
        AssetStudioGlyphSpecialization glyphSpecialization,
        AssetStudioSceneBankMetadata sceneBankMetadata,
        AssetStudioGlyphMaterialMetadata glyphMaterialMetadata) {

    public AssetStudioMetadataSnapshot {
        glyphSpecialization = Objects.requireNonNullElse(glyphSpecialization, AssetStudioGlyphSpecialization.NONE);
    }
}
