Skip to content

Commit

Permalink
[hdx, usdImagingGL] Add comments about deprecation of "enableIdRender…
Browse files Browse the repository at this point in the history
…" param.

(Internal change: 2349599)
  • Loading branch information
clach authored and pixar-oss committed Dec 6, 2024
1 parent 2464e50 commit 1cd7c06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pxr/imaging/hdx/renderSetupTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions pxr/usdImaging/usdImagingGL/renderParams.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1cd7c06

Please sign in to comment.