hxn

Shaders

Shaders from hxnsl, for Metal.

Static methods

function library(device:Device, metallib:Null<Bytes>, msl:String):Library

The shader's library: its metallib() when one was compiled with the program, so nothing is compiled now, else its MSL, compiled now.