-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hdEmbree] add HDEMBREE_LIGHT_CREATE debug code
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// Copyright 2024 Pixar | ||
// | ||
// Licensed under the terms set forth in the LICENSE.txt file available at | ||
// https://openusd.org/license. | ||
// | ||
#include "pxr/pxr.h" | ||
#include "pxr/imaging/plugin/hdEmbree/debugCodes.h" | ||
|
||
#include "pxr/base/tf/debug.h" | ||
#include "pxr/base/tf/registryManager.h" | ||
|
||
PXR_NAMESPACE_OPEN_SCOPE | ||
|
||
TF_REGISTRY_FUNCTION(TfDebug) | ||
{ | ||
TF_DEBUG_ENVIRONMENT_SYMBOL(HDEMBREE_LIGHT_CREATE, "Creation of HdEmbree lights"); | ||
} | ||
|
||
PXR_NAMESPACE_CLOSE_SCOPE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// Copyright 2024 Pixar | ||
// | ||
// Licensed under the terms set forth in the LICENSE.txt file available at | ||
// https://openusd.org/license. | ||
// | ||
#ifndef PXR_IMAGING_PLUGIN_HD_EMBREE_DEBUG_CODES_H | ||
#define PXR_IMAGING_PLUGIN_HD_EMBREE_DEBUG_CODES_H | ||
|
||
#include "pxr/pxr.h" | ||
#include "pxr/base/tf/debug.h" | ||
|
||
PXR_NAMESPACE_OPEN_SCOPE | ||
|
||
TF_DEBUG_CODES( | ||
HDEMBREE_LIGHT_CREATE | ||
); | ||
|
||
PXR_NAMESPACE_CLOSE_SCOPE | ||
|
||
#endif // PXR_IMAGING_PLUGIN_HD_EMBREE_DEBUG_CODES_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters