hxn

Program

A linked program.

Static methods

function hxnAdopt(hxnRaw:Handle):Program

An object for a value the library returned.

Properties

var hxnRaw:Handle

Methods

function uniformBlock(name:String, binding:Int):Bool

Assigns the uniform block name to binding point binding. False when the program has no such block.

function sampler(name:String, unit:Int):Bool

Assigns the sampler uniform name to texture unit unit. False when the program has no such uniform. It leaves this program in use.

function close():Void

Releases the native value now. The collector does it otherwise. Using this object afterwards throws.