NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
imaterial.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_IMATERIAL_H
9 #define MI_NEURAYLIB_IMATERIAL_H
10 
12 
13 namespace mi {
14 
15 class IGroup;
16 class IShader;
17 
22 class IMaterial :
30  public base::Interface_declare<0xe7a03a04,0x5f31,0x48c1,0xa0,0x92,0x58,0x46,0x88,0x77,0x4c,0x67,
31  IScene_element>
32 {
33 public:
47  virtual Sint32 attach_shader( Shader_type type, const char* name) = 0;
48 
57  virtual Sint32 detach_shader( Shader_type type) = 0;
58 
65  virtual const IShader* access_shader( Shader_type type) const = 0;
66 
73  virtual IShader* edit_shader( Shader_type type) const = 0;
74 };
75  // end group mi_neuray_misc
77 
78 } // namespace mi
79 
80 #endif // MI_NEURAYLIB_IMATERIAL_H