Files
UnrealEngine/Engine/Source/ThirdParty/MaterialX/MaterialX-1.38.10/source/MaterialXGenShader/Export.h
2025-05-18 13:04:45 +08:00

23 lines
632 B
C

//
// Copyright Contributors to the MaterialX Project
// SPDX-License-Identifier: Apache-2.0
//
#ifndef MATERIALX_GENSHADER_EXPORT_H
#define MATERIALX_GENSHADER_EXPORT_H
#include <MaterialXGenShader/Library.h>
/// @file
/// Macros for declaring imported and exported symbols.
#if defined(MATERIALX_GENSHADER_EXPORTS)
#define MX_GENSHADER_API MATERIALX_SYMBOL_EXPORT
#define MX_GENSHADER_EXTERN_TEMPLATE(...) MATERIALX_EXPORT_EXTERN_TEMPLATE(__VA_ARGS__)
#else
#define MX_GENSHADER_API MATERIALX_SYMBOL_IMPORT
#define MX_GENSHADER_EXTERN_TEMPLATE(...) MATERIALX_IMPORT_EXTERN_TEMPLATE(__VA_ARGS__)
#endif
#endif