getBuiltins( shaderStage ) {

		const snippets = [];
		const builtins = this.builtins[ shaderStage ];

		if ( builtins !== undefined ) {

			for ( const { name, property, type } of builtins.values() ) {

				snippets.push( `@builtin( ${name} ) ${property} : ${type}` );

			}

		}

		return snippets.join( ',\n\t' );

	}
Returns the builtins of the given shader stage as a WGSL string.

@param {string} shaderStage - The shader stage.
@return {string} A WGSL snippet that represents the builtins of the given stage.