Minor changes: Updated comments and removed an include file.

This commit is contained in:
Doug McDiarmid
2021-05-26 20:25:48 -07:00
parent 045def6ce1
commit 74bdf2b069
5 changed files with 5 additions and 3 deletions
@@ -109,6 +109,7 @@ namespace AZ
const AZStd::string& relocationTextureRelativePath,
const AZStd::string& classificationTextureRelativePath) = 0;
// check for and retrieve a new baked texture asset (does not apply to hot-reloaded assets, only initial bakes)
virtual bool CheckTextureAssetNotification(
const AZStd::string& relativePath,
Data::Asset<RPI::StreamingImageAsset>& outTextureAsset,
@@ -27,6 +27,7 @@ namespace AZ
struct DiffuseProbeGridRenderData
{
// [GFX TODO][ATOM-15650] Change DiffuseProbeGrid Classification texture to R8_UINT
static const RHI::Format RayTraceImageFormat = RHI::Format::R32G32B32A32_FLOAT;
static const RHI::Format IrradianceImageFormat = RHI::Format::R16G16B16A16_UNORM;
static const RHI::Format DistanceImageFormat = RHI::Format::R32G32_FLOAT;
@@ -352,7 +352,8 @@ namespace AZ
azrtti_typeid<AZ::RPI::StreamingImageAsset>(),
false);
// we only track notifications for new texture assets, existing assets are automatically reloaded by the RPI
// We only track notifications for new texture assets, meaning assets that are created the first time a DiffuseProbeGrid is baked.
// On subsequent bakes the existing assets are automatically reloaded by the RPI since they are already known by the asset system.
if (!assetId.IsValid())
{
m_notifyTextureAssets.push_back({ assetPath, assetId });
@@ -128,7 +128,7 @@ namespace AZ
m_configuration.m_bakedRelocationTextureRelativePath,
m_configuration.m_bakedClassificationTextureRelativePath))
{
// clear the baked texture paths and assets
// clear the baked texture paths and assets, since they belong to the original entity (not the clone)
m_configuration.m_bakedIrradianceTextureRelativePath.clear();
m_configuration.m_bakedDistanceTextureRelativePath.clear();
m_configuration.m_bakedRelocationTextureRelativePath.clear();
@@ -23,7 +23,6 @@
AZ_PUSH_DISABLE_WARNING(4251 4800, "-Wunknown-warning-option") // disable warnings spawned by QT
#include <QApplication>
#include <QMessageBox>
#include <QProgressDialog>
AZ_POP_DISABLE_WARNING
namespace AZ