Gems/LmbrCentral/Code/Source/Builders/BenchmarkAssetBuilder/BenchmarkAssetBuilderWorker.cpp
void BenchmarkAssetBuilderWorker::ConvertSettingsToJobParameters(const AzFramework::BenchmarkSettingsAsset& settings,
        AssetBuilderSDK::JobParameterMap& jobParameters)
    {
        jobParameters[AZ_CRC_CE("PrimaryAssetByteSize")] = AZStd::to_string(settings.m_primaryAssetByteSize);
        jobParameters[AZ_CRC_CE("DependentAssetByteSize")] = AZStd::to_string(settings.m_dependentAssetByteSize);
        jobParameters[AZ_CRC_CE("NumAssetsPerDependency")] = AZStd::to_string(settings.m_numAssetsPerDependency);
        jobParameters[AZ_CRC_CE("DependencyDepth")] = AZStd::to_string(settings.m_dependencyDepth);
        jobParameters[AZ_CRC_CE("AssetStorageType")] =
            AZStd::to_string(aznumeric_cast<uint32_t>(settings.m_assetStorageType));
    }
// Job parameters are passed around as key/value strings, so convert our generation parameters to strings to
// pass them over to ProcessJobs.
Job parameters are passed around as key/value strings, so convert our generation parameters to strings to
pass them over to ProcessJobs.
Job parameters are passed around as key / value strings so convert our generation parameters to strings to pass them over to ProcessJobs .
void BenchmarkAssetBuilderWorker::ConvertSettingsToJobParameters(const AzFramework::BenchmarkSettingsAsset& settings,
        AssetBuilderSDK::JobParameterMap& jobParameters)
    {
        jobParameters[AZ_CRC_CE("PrimaryAssetByteSize")] = AZStd::to_string(settings.m_primaryAssetByteSize);
        jobParameters[AZ_CRC_CE("DependentAssetByteSize")] = AZStd::to_string(settings.m_dependentAssetByteSize);
        jobParameters[AZ_CRC_CE("NumAssetsPerDependency")] = AZStd::to_string(settings.m_numAssetsPerDependency);
        jobParameters[AZ_CRC_CE("DependencyDepth")] = AZStd::to_string(settings.m_dependencyDepth);
        jobParameters[AZ_CRC_CE("AssetStorageType")] =
            AZStd::to_string(aznumeric_cast<uint32_t>(settings.m_assetStorageType));
    }
void BenchmarkAssetBuilderWorker :: ConvertSettingsToJobParameters ( const AzFramework :: BenchmarkSettingsAsset & settings , AssetBuilderSDK :: JobParameterMap & jobParameters ) { jobParameters [ AZ_CRC_CE ( " " ) ] = AZStd :: to_string ( settings . m_primaryAssetByteSize ) ; jobParameters [ AZ_CRC_CE ( " " ) ] = AZStd :: to_string ( settings . m_dependentAssetByteSize ) ; jobParameters [ AZ_CRC_CE ( " " ) ] = AZStd :: to_string ( settings . m_numAssetsPerDependency ) ; jobParameters [ AZ_CRC_CE ( " " ) ] = AZStd :: to_string ( settings . m_dependencyDepth ) ; jobParameters [ AZ_CRC_CE ( " " ) ] = AZStd :: to_string ( aznumeric_cast < uint32_t > ( settings . m_assetStorageType ) ) ; }
Job parameters are passed around as key/value strings, so convert our generation parameters to strings to
pass them over to ProcessJobs.
Job parameters are passed around as key / value strings so convert our generation parameters to strings to pass them over to ProcessJobs .