hxTypedArray

Pure-Haxe TypedArray implementation designed for parity with JavaScript's TypedArray API
https://github.com/DavisDevelopment/hx-typedarray/

To install, run:

haxelib install hxTypedArray 0.0.1 

See using Haxelib in Haxelib documentation for more information.

README.md

Gluon

  • Unified WebGL implementation for hxcpp with improved typing
  • Abstract enums are used to type constants, for example: enable(cap:GLenum) becomes enable(cap:Capability) and the compiler can autocomplete valid constants.

    Which means fewer trips to the OpenGL specification :)

  • Includes a TypedArray implementation designed for parity with JavaScript's TypedArrays
  • GPU resources are freed with garbage collection however best practice is to still do this manually with the gl.delete* methods because both hxcpp and browser garbage collectors cannot properly estimate memory pressure of GPU objects

Project State

  • This project is ready to use with the js and hxcpp targets and is used in production projects
  • It's likely to undergo minor changes as I work towards releasing it

Design Goals

  • Dependency free and minimalistic
Contributors
DavisDevelopment
haxiomic
Version
0.0.1
Published
6 years ago
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub

⌂