import '../../../../globals.js';
// Copyright 2023-2024, University of Colorado Boulder
/**
 * TODO: doc
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { alpenglow } from '../../imports.js';
export default class BindingDescriptor {
    constructor(bindingIndex, bindingType, slot) {
        this.bindingIndex = bindingIndex;
        this.bindingType = bindingType;
        this.slot = slot;
    }
    getBindGroupLayoutEntry() {
        return this.bindingType.getBindGroupLayoutEntry(this.bindingIndex);
    }
}
alpenglow.register('BindingDescriptor', BindingDescriptor);
//# sourceMappingURL=BindingDescriptor.js.map