ufe  4.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
materialHandler.h
Go to the documentation of this file.
1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.10-windows/ufe/include/materialHandler.h"
2 #ifndef _materialHandler
3 #define _materialHandler
4 // ===========================================================================
5 // Copyright 2022 Autodesk, Inc. All rights reserved.
6 //
7 // Use of this software is subject to the terms of the Autodesk license
8 // agreement provided at the time of installation or download, or which
9 // otherwise accompanies this software in either electronic or hard copy form.
10 // ===========================================================================
11 
12 #include "material.h"
13 #include "sceneItem.h"
14 
15 UFE_NS_DEF {
16 
18 
25 {
26 public:
27  typedef std::shared_ptr<MaterialHandler> Ptr;
28 
32  MaterialHandler(const MaterialHandler&) = default;
34  virtual ~MaterialHandler();
35 
42  virtual Material::Ptr material(const SceneItem::Ptr& item) const = 0;
43 };
44 
45 }
46 
47 #endif /* _materialHandler */
std::shared_ptr< Material > Ptr
Definition: material.h:34
std::shared_ptr< MaterialHandler > Ptr
Factory base class for Material interface.
#define UFE_NS_DEF
Definition: ufe.h:35
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:40
#define UFE_SDK_DECL
Definition: ufeExport.h:36