import '../../../../../globals.js';
// Copyright 2023-2024, University of Colorado Boulder
/**
 * Provides the ability to log a single value out
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { combineOptions } from '../../../../../phet-core/js/optionize.js';
import { alpenglow, logWGSL, wgsl, wgslString } from '../../../imports.js';
const logValueWGSL = (providedOptions) => {
    const options = combineOptions({
        name: providedOptions.value,
        writeData: write => wgsl `
      ${write(wgsl `0u`, wgslString(providedOptions.value))}
    `,
        dataCount: 1
    }, providedOptions);
    return logWGSL(options);
};
export default logValueWGSL;
alpenglow.register('logValueWGSL', logValueWGSL);
//# sourceMappingURL=logValueWGSL.js.map