export var GPUBufferUsage;
(function (GPUBufferUsage) {
    GPUBufferUsage[GPUBufferUsage["MAP_READ"] = 1] = "MAP_READ";
    GPUBufferUsage[GPUBufferUsage["MAP_WRITE"] = 2] = "MAP_WRITE";
    GPUBufferUsage[GPUBufferUsage["COPY_SRC"] = 4] = "COPY_SRC";
    GPUBufferUsage[GPUBufferUsage["COPY_DST"] = 8] = "COPY_DST";
    GPUBufferUsage[GPUBufferUsage["INDEX"] = 16] = "INDEX";
    GPUBufferUsage[GPUBufferUsage["VERTEX"] = 32] = "VERTEX";
    GPUBufferUsage[GPUBufferUsage["UNIFORM"] = 64] = "UNIFORM";
    GPUBufferUsage[GPUBufferUsage["STORAGE"] = 128] = "STORAGE";
    GPUBufferUsage[GPUBufferUsage["INDIRECT"] = 256] = "INDIRECT";
    GPUBufferUsage[GPUBufferUsage["QUERY_RESOLVE"] = 512] = "QUERY_RESOLVE";
})(GPUBufferUsage || (GPUBufferUsage = {}));
export var GPUMapMode;
(function (GPUMapMode) {
    GPUMapMode[GPUMapMode["READ"] = 1] = "READ";
    GPUMapMode[GPUMapMode["WRITE"] = 2] = "WRITE";
})(GPUMapMode || (GPUMapMode = {}));
export var GPUTextureUsage;
(function (GPUTextureUsage) {
    GPUTextureUsage[GPUTextureUsage["COPY_SRC"] = 1] = "COPY_SRC";
    GPUTextureUsage[GPUTextureUsage["COPY_DST"] = 2] = "COPY_DST";
    GPUTextureUsage[GPUTextureUsage["RENDER_ATTACHMENT"] = 16] = "RENDER_ATTACHMENT";
    GPUTextureUsage[GPUTextureUsage["STORAGE_BINDING"] = 8] = "STORAGE_BINDING";
    GPUTextureUsage[GPUTextureUsage["TEXTURE_BINDING"] = 4] = "TEXTURE_BINDING";
})(GPUTextureUsage || (GPUTextureUsage = {}));
export var GPUShaderStage;
(function (GPUShaderStage) {
    GPUShaderStage[GPUShaderStage["VERTEX"] = 1] = "VERTEX";
    GPUShaderStage[GPUShaderStage["FRAGMENT"] = 2] = "FRAGMENT";
    GPUShaderStage[GPUShaderStage["COMPUTE"] = 4] = "COMPUTE";
})(GPUShaderStage || (GPUShaderStage = {}));
export var GPUDeviceLostReason;
(function (GPUDeviceLostReason) {
    GPUDeviceLostReason[GPUDeviceLostReason["unknown"] = 0] = "unknown";
    GPUDeviceLostReason[GPUDeviceLostReason["destroyed"] = 1] = "destroyed";
})(GPUDeviceLostReason || (GPUDeviceLostReason = {}));
export const native_ = Symbol('[[native]]');
export const mapState_ = Symbol('[[mapState]]');
export const contextPtr_ = Symbol('[[contextPtr]]');
export const adapter_ = Symbol('[[adapter]]');
//# sourceMappingURL=Constants.js.map