gulp-structify
Version:
Generates WebGL-compatible Structs and StructBuffers from a template file.
17 lines • 409 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Struct backed by a TypedArray.
*/
var Struct = (function () {
/**
* Creates a struct backed by a TypedArray.
* @param data the backing array.
*/
function Struct(data) {
this.data = data;
}
return Struct;
}());
exports.Struct = Struct;
//# sourceMappingURL=struct.js.map