From 1cd7c06811c2f762db8080a2bf108bafeecc6923 Mon Sep 17 00:00:00 2001 From: clach Date: Fri, 6 Dec 2024 12:45:01 -0800 Subject: [PATCH] [hdx, usdImagingGL] Add comments about deprecation of "enableIdRender" param. (Internal change: 2349599) --- pxr/imaging/hdx/renderSetupTask.h | 2 ++ pxr/usdImaging/usdImagingGL/renderParams.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pxr/imaging/hdx/renderSetupTask.h b/pxr/imaging/hdx/renderSetupTask.h index 6268917da2..272fe57c48 100644 --- a/pxr/imaging/hdx/renderSetupTask.h +++ b/pxr/imaging/hdx/renderSetupTask.h @@ -176,6 +176,8 @@ struct HdxRenderTaskParams GfVec4f pointColor; float pointSize; bool enableLighting; + // Note: enableIdRender is deprecated in favor of using the primId AOV, and + // will be removed as a param soon. bool enableIdRender; float alphaThreshold; bool enableSceneMaterials; diff --git a/pxr/usdImaging/usdImagingGL/renderParams.h b/pxr/usdImaging/usdImagingGL/renderParams.h index 48fac08f35..e78478d237 100644 --- a/pxr/usdImaging/usdImagingGL/renderParams.h +++ b/pxr/usdImaging/usdImagingGL/renderParams.h @@ -69,6 +69,8 @@ class UsdImagingGLRenderParams bool forceRefresh; bool flipFrontFacing; UsdImagingGLCullStyle cullStyle; + // Note: enableIdRender is deprecated in favor of using the primId AOV, and + // will be removed as a param soon. bool enableIdRender; bool enableLighting; bool enableSampleAlphaToCoverage;