getMethod( method, output = null ) {

		let wgslMethod;

		if ( output !== null ) {

			wgslMethod = this._getWGSLMethod( method + '_' + output );

		}

		if ( wgslMethod === undefined ) {

			wgslMethod = this._getWGSLMethod( method );

		}

		return wgslMethod || method;

	}
Returns the native shader method name for a given generic name.

@param {string} method - The method name to resolve.
@param {?string} [output=null] - An optional output.
@return {string} The resolved WGSL method name.