All files / player-browser/src/skin index.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52                                                                                                       
/**
 * Barrel for the `@be-music/player-browser/skin` entry: the skin families and their loading. The cross-family
 * `SkinFamily` registry, the LR2 and beatoraja theme loaders (with their audio, fonts, textures and the beatoraja scene
 * kit), the default family with the Be-Music Skin registry, and the built-in Be-Music Skins. Pixi-bound texture / font /
 * rendering helpers under `skin/lr2/*` are mostly package-internal (they back the family views); the only one exported
 * here is `loadTextureFromBytes`, which the player needs to decode per-song STAGEFILE / BACKBMP / BANNER bitmaps.
 *
 * The Be-Music Skin contract itself (`BeMusicSkin`, its frames and settings) is `@be-music/player-skin-sdk`'s, and isn't
 * re-exported here.
 */
export * from './family.ts';
export * from './registry.ts';
 
// LR2 family registration entry + the targeted public texture helper.
export * from './lr2/family.ts';
export { loadTextureFromBytes } from './lr2/textures.ts';
 
// beatoraja family — theme loaders, audio / fonts / textures.
export * from './beatoraja/audio.ts';
export * from './beatoraja/chart-images.ts';
export * from './beatoraja/family.ts';
export * from './beatoraja/fonts.ts';
export * from './beatoraja/render.ts';
// The scene kit loader; `BeatorajaSceneKit` itself is a family kit type, exported from `./host`.
export {
  createBeatorajaSceneKitCaches,
  createBeatorajaSkinLoadContext,
  defaultBeatorajaSkinConfig,
  loadBeatorajaSceneKit,
  releaseBeatorajaSceneKitAssets,
  resolveBeatorajaSkinConfig,
  type BeatorajaSceneKitCaches,
  type BeatorajaSkinLoadContextOptions,
  type LoadBeatorajaSceneKitOptions,
  type LoadBeatorajaSceneKitResult,
  type LoadedBeatorajaSceneKit,
} from './beatoraja/scene-kit.ts';
export * from './beatoraja/textures.ts';
export * from './beatoraja/theme.ts';
 
// Default family registration entry + the registry of the Be-Music Skins it draws with.
export * from './default/family.ts';
export * from './be-music/index.ts';
 
// The built-in Be-Music Skins, drawn when neither an LR2 nor a beatoraja theme is loaded, or when a loaded theme doesn't
// cover the scene or the chart's variant. `BUILT_IN_BE_MUSIC_SKINS` is the default set, in picker order.
export { BUILT_IN_BE_MUSIC_SKINS } from '../skins/built-in.ts';
export { plainSkin } from '../skins/plain/index.ts';
export { synesthesiaSkin } from '../skins/synesthesia/index.ts';
 
export { nativeSkin } from '../skins/native/index.ts';