Files
SDL3CPlusPlus/MaterialX/source/MaterialXGenShader/Exception.h
2026-01-06 13:25:49 +00:00

29 lines
611 B
C++

//
// Copyright Contributors to the MaterialX Project
// SPDX-License-Identifier: Apache-2.0
//
#ifndef MATERIALXGENSHADER_EXCEPTION_H
#define MATERIALXGENSHADER_EXCEPTION_H
/// @file
/// Base shader generator exception class
#include <MaterialXGenShader/Export.h>
#include <MaterialXCore/Exception.h>
MATERIALX_NAMESPACE_BEGIN
/// @class ExceptionShaderGenError
/// An exception that is thrown when shader generation fails.
class MX_GENSHADER_API ExceptionShaderGenError : public Exception
{
public:
using Exception::Exception;
};
MATERIALX_NAMESPACE_END
#endif // MATERIALXGENSHADER_EXCEPTION_H