// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
import { callFunction } from "objc-js";
export function MTLCopyAllDevices() {
    return callFunction("MTLCopyAllDevices", { returns: "@" });
}
export function MTLCopyAllDevicesWithObserver(observer, handler) {
    return callFunction("MTLCopyAllDevicesWithObserver", { returns: "@", args: ["@", "@?"] }, observer, handler);
}
export function MTLCreateSystemDefaultDevice() {
    return callFunction("MTLCreateSystemDefaultDevice", { returns: "@" });
}
export function MTLIOCompressionContextAppendData(context, data, size) {
    callFunction("MTLIOCompressionContextAppendData", { args: ["^v", "^v", "Q"] }, context, data, size);
}
export function MTLIOCompressionContextDefaultChunkSize() {
    return callFunction("MTLIOCompressionContextDefaultChunkSize", { returns: "Q" });
}
export function MTLIOCreateCompressionContext(path, type, chunkSize) {
    return callFunction("MTLIOCreateCompressionContext", { returns: "^v", args: ["*", "q", "Q"] }, path, type, chunkSize);
}
export function MTLIOFlushAndDestroyCompressionContext(context) {
    return callFunction("MTLIOFlushAndDestroyCompressionContext", { returns: "q", args: ["^v"] }, context);
}
export function MTLRemoveDeviceObserver(observer) {
    callFunction("MTLRemoveDeviceObserver", undefined, observer);
}
