Skip to content

DavisDevelopment/hx-typedarray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

WebGL implementation for hxcpp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.0%
  • C++ 5.4%
  • Haxe 3.5%
  • Other 0.1%