// Class: lime.utils.DataPointerObject

var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this

$global.Object.defineProperty(exports, "__esModule", {value: true});

var __map_reserved = {};

// Imports

var $hxClasses = require("./../../hxClasses_stub").default;
var $import = require("./../../import_stub").default;
function lime_utils_DataPointerObjectType() {return require("./../../lime/utils/DataPointerObjectType");}

// Constructor

var DataPointerObject = function(bufferView,buffer,offset) {
	if(offset == null) {
		offset = 0;
	}
	if(bufferView != null) {
		this.bufferView = bufferView;
		this.type = (lime_utils_DataPointerObjectType().default).BUFFER_VIEW;
	} else if(buffer != null) {
		this.buffer = buffer;
		this.type = (lime_utils_DataPointerObjectType().default).BUFFER;
	} else {
		this.type = (lime_utils_DataPointerObjectType().default).VALUE;
	}
	this.offset = offset;
}

// Meta

DataPointerObject.__name__ = ["lime","utils","DataPointerObject"];
DataPointerObject.prototype = {
	
};
DataPointerObject.prototype.__class__ = $hxClasses["lime.utils.DataPointerObject"] = DataPointerObject;

// Init



// Statics




// Export

exports.default = DataPointerObject;