-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also handle USDMTLX_PRIMARY_UV_NAME env var.
- Loading branch information
1 parent
39fb4e7
commit 5c162e1
Showing
9 changed files
with
107 additions
and
23 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
24 changes: 24 additions & 0 deletions
24
lib/mayaUsd/render/MaterialXGenOgsXml/CombinedMaterialXVersion.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. | ||
// All rights reserved. See LICENSE.txt for license. | ||
// | ||
|
||
#ifndef MATERIALX_COMBINEDVERSION_H | ||
#define MATERIALX_COMBINEDVERSION_H | ||
|
||
/// @file | ||
/// GLSL fragment generator | ||
|
||
#include <MaterialXCore/Generated.h> | ||
|
||
#if !defined(MATERIALX_NAMESPACE_BEGIN) | ||
// The above define was introduced in MaterialX 1.38.3. If it does not exist, we know we are on an | ||
// earlier 1.38 MaterialX version that can use the same code we use for 1.38.3 | ||
#define MX_COMBINED_VERSION 13803 | ||
#else | ||
#define MX_COMBINED_VERSION \ | ||
((MATERIALX_MAJOR_VERSION * 100 * 100) + (MATERIALX_MINOR_VERSION * 100) \ | ||
+ MATERIALX_BUILD_VERSION) | ||
#endif | ||
|
||
#endif |
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
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
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
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
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
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
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