function GPUDrawCall() { Object.defineProperties(this, { 'mesh': { enumerable: true, configurable: true, get: GPUDrawCall.prototype.__get_mesh, set: GPUDrawCall.prototype.__set_mesh}, 'options': { enumerable: true, configurable: true, get: GPUDrawCall.prototype.__get_options, set: GPUDrawCall.prototype.__set_options}, 'modelMatrix': { enumerable: true, configurable: true, get: GPUDrawCall.prototype.__get_modelMatrix, set: GPUDrawCall.prototype.__set_modelMatrix}, 'material': { enumerable: true, configurable: true, get: GPUDrawCall.prototype.__get_material, set: GPUDrawCall.prototype.__set_material} }) } GPUDrawCall.prototype.__get_mesh = function() { var retVal = new Mesh() retVal.__ptr = Polycode.GPUDrawCall__get_mesh(this.__ptr) return retVal } GPUDrawCall.prototype.__set_mesh = function(val) { Polycode.GPUDrawCall__set_mesh(this.__ptr, val.__ptr) } GPUDrawCall.prototype.__get_options = function() { var retVal = new GPUDrawOptions() retVal.__ptr = Polycode.GPUDrawCall__get_options(this.__ptr) return retVal } GPUDrawCall.prototype.__set_options = function(val) { Polycode.GPUDrawCall__set_options(this.__ptr, val.__ptr) } GPUDrawCall.prototype.__get_modelMatrix = function() { var retVal = new Matrix4() retVal.__ptr = Polycode.GPUDrawCall__get_modelMatrix(this.__ptr) return retVal } GPUDrawCall.prototype.__set_modelMatrix = function(val) { Polycode.GPUDrawCall__set_modelMatrix(this.__ptr, val.__ptr) } GPUDrawCall.prototype.__get_material = function() { var retVal = new Material() retVal.__ptr = Polycode.GPUDrawCall__get_material(this.__ptr) return retVal } GPUDrawCall.prototype.__set_material = function(val) { Polycode.GPUDrawCall__set_material(this.__ptr, val.__ptr) }