import '../../../../globals.js';
// Copyright 2023-2024, University of Colorado Boulder
/**
 * A specific binding location
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { alpenglow, decimalS, wgsl } from '../../imports.js';
export default class BindingLocation {
    constructor(groupIndex, bindingIndex) {
        this.groupIndex = groupIndex;
        this.bindingIndex = bindingIndex;
    }
    getWGSLAnnotation() {
        return wgsl `@group(${decimalS(this.groupIndex)}) @binding(${decimalS(this.bindingIndex)})`;
    }
}
alpenglow.register('BindingLocation', BindingLocation);
//# sourceMappingURL=BindingLocation.js.map