[go: up one dir, main page]

hxn

API

API reference

The Haxe API of every hxn library at its released version: hxn, hxn-window, hxn-av, hxn-audio, hxn-file, hxn-assets, hxn-text, hxnsl, hxn-gpu and the hxn GPU drivers.

0.3.19 / 35 types

hxn

Shared logging, futures, streams, signals, reactive values, atomics and callbacks: the Haxe classes every hxn library uses.

0.2.5 / 42 types

hxn-window

Native and browser windows, input, monitors, gamepads and the clipboard, with handles for GPU surfaces.

0.2.2 / 40 types

hxn-av

Audio and video with the platform's codecs: playback, frames, PCM audio, an equalizer, AAC, H.264 and MP4.

0.1.3 / 19 types

hxn-audio

Audio output and mixing: voices, bounded PCM streams, buses and effects on native and browser runtimes. The Av and DecoderStream helpers require hxn-av.

0.3.3 / 8 types

hxn-file

Scoped asynchronous files, saves, preferences and bounded HTTP(S)/WS(S) transport on desktop, mobile and browser runtimes.

0.3.3 / 16 types

hxn-assets

Typed annotated assets, metadata catalogs and remote HTTP and WS streams, with content identity and byte caching.

0.1.1 / 20 types

hxn-graphdb

An embedded graph database on KyuGraph: typed knowledge capture, tracking of @:tracked values, Cypher queries, and checkpoints saved with hxn-file.

0.1.1 / 19 types

hxn-text

Owned fonts, HarfRust text shaping, glyph masks and revisioned atlas data. FontAssets helpers use hxn-assets annotations and asynchronous loading.

0.2.1 / 8 types

hxnsl

Shaders written in HXSL and translated at compile time to WGSL, MSL, HLSL, SPIR-V and GLSL ES.

0.2.7 / 59 types

hxn-gpu

One GPU API over every hxn GPU driver, with features and limits per device and a default backend per platform.

0.2.6 / 31 types

hxn-gpu-metal

Metal on macOS and iOS: compute and render passes, with hxnsl shaders compiled into Metal libraries.

0.3.5 / 35 types

hxn-gpu-vulkan

Vulkan on Linux, Windows, Android and macOS: compute, rendering, explicit barriers and swapchains.

0.2.4 / 31 types

hxn-gpu-d3d12

Direct3D 12 on Windows: compute, rendering, textures and swapchains, with transitions or enhanced barriers.

0.3.4 / 18 types

hxn-gpu-gles

OpenGL ES 3.0 over EGL on Android, Linux, macOS and Windows: rendering, textures and windows.

0.3.7 / 38 types

hxn-gpu-webgpu

WebGPU in the browser, on hxcpp and Ash compiled to wasm: compute, rendering and the web page's canvas.

0.3.6 / 17 types

hxn-gpu-webgl2

WebGL2 in the browser, on hxcpp and Ash compiled to wasm, for browsers without WebGPU.

Every type