IndigoRenderer.prototype.renderToBuffer = function()

in indigo_renderer.js [44:53]


IndigoRenderer.prototype.renderToBuffer = function(obj) {
    this.indigo._setSessionId();
    let wb = this.indigo.writeBuffer();
    try {
        this.indigo._checkResult(this._lib.indigoRender(obj.id, wb.id));
        return wb.toBuffer();
    } finally {
        wb.dispose();
    }
};