Skip to content

Commit

Permalink
Expose MSL MaterialX API cross-platform.
Browse files Browse the repository at this point in the history
* Apparently some of the MaterialX MSL API is supposed to be
  unconditionally included on all platforms (including Linux).

Signed-off-by: furby™ <[email protected]>
  • Loading branch information
furby-tm committed Sep 16, 2024
1 parent 815f1d7 commit 0fdc4d9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/MaterialX/include/MaterialX/MaterialX.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
#if defined(__APPLE__)
#include <MaterialX/MXGenMslBitangentNodeMsl.h>
#include <MaterialX/MXGenMslBlurNodeMsl.h>
#include <MaterialX/MXGenMslExport.h>
#include <MaterialX/MXGenMslFrameNodeMsl.h>
#include <MaterialX/MXGenMslGeomColorNodeMsl.h>
#include <MaterialX/MXGenMslGeomPropValueNodeMsl.h>
Expand All @@ -137,15 +136,16 @@
#include <MaterialX/MXGenMslNormalNodeMsl.h>
#include <MaterialX/MXGenMslNumLightsNodeMsl.h>
#include <MaterialX/MXGenMslPositionNodeMsl.h>
#include <MaterialX/MXGenMslResourceBindingContext.h>
#include <MaterialX/MXGenMslShaderGenerator.h>
#include <MaterialX/MXGenMslSurfaceNodeMsl.h>
#include <MaterialX/MXGenMslSurfaceShaderNodeMsl.h>
#include <MaterialX/MXGenMslSyntax.h>
#include <MaterialX/MXGenMslTangentNodeMsl.h>
#include <MaterialX/MXGenMslTimeNodeMsl.h>
#include <MaterialX/MXGenMslUnlitSurfaceNodeMsl.h>
#endif /* defined(__APPLE__) */
#include <MaterialX/MXGenMslExport.h>
#include <MaterialX/MXGenMslShaderGenerator.h>
#include <MaterialX/MXGenMslResourceBindingContext.h>
#include <MaterialX/MXGenMslSurfaceNodeMsl.h>
#include <MaterialX/MXGenMslSyntax.h>
#include <MaterialX/MXGenShader.h>
#include <MaterialX/MXGenShaderBlurNode.h>
#include <MaterialX/MXGenShaderClosureAddNode.h>
Expand Down

0 comments on commit 0fdc4d9

Please sign in to comment.