import { native_ } from './Constants';
export class GPUTextureView {
    get label() {
        return this[native_]?.label ?? '';
    }
    static fromNative(view) {
        if (view) {
            const ret = new GPUTextureView();
            ret[native_] = view;
            return ret;
        }
        return null;
    }
}
//# sourceMappingURL=GPUTextureView.js.map