Free Electron
ArnoldShader.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __arnold_ArnoldShader_h__
8 #define __arnold_ArnoldShader_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /**************************************************************************//**
15  @brief Arnold shader
16 
17  @ingroup arnold
18 *//***************************************************************************/
20 {
21  public:
22 
23  ArnoldShader(void);
24 virtual ~ArnoldShader(void);
25 
26  void setShader(sp<ShaderI> a_spShaderI)
27  { m_spShaderI=a_spShaderI; }
28  sp<ShaderI> shader(void)
29  { return m_spShaderI; }
30 
31  private:
32  sp<ShaderI> m_spShaderI;
33 };
34 
35 } /* namespace ext */
36 } /* namespace fe */
37 
38 #endif /* __arnold_ArnoldShader_h__ */
kernel
Definition: namespace.dox:3
Arnold shader.
Definition: ArnoldShader.h:19
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53