Skip to main content

Genies iOS SDK v0.1.12

Updated: May 4, 2026

What's New

  • ToonPreset + ToonPresetLoader moved into NAFKitUITools — parsing is renderer-agnostic so BYO-renderer consumers can read the bundled JSON presets without touching NAFShaderManager.
  • NAFView toon-shader convenience extensions (NAFKitUI):
    • view.apply(preset) — attach + activate + enable + push params.
    • view.applyDefaultToonPreset() — load NAFKitConfig's bundled default and apply.
    • view.attachToonShader() — register without enabling
    • view.disableToonShader() — global toggle off.
  • NAFShaderManager.apply(preset) for direct singleton use.

What's Updated

  • NAFView() / NAFAvatarSession() default resolverConfig to NAFKitConfig.resolverConfig. Pass a custom string to override.
  • NAFAvatarDefinition gains an optional slug property; definitionFromJSON: parses "slug" from the JSON. The convenience loadAvatarProgressive overload still accepts an explicit slug: arg that overrides the definition's value (removed entirely in 0.1.13).
  • Removed NAFAssetBuilder.
  • NAFAvatarController Talking API converted from setter-only methods to typed properties — talkingClip, talkingWeight, and isTalkingEnabled.
  • NAFMaterial.alphaClipEnabled now has getter=isAlphaClipEnabled, matching isTransparent / isDoubleSided in the same file.

What's Fixed

  • LOD texture upgrades render on screen again.