Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
itile.h
Go to the documentation of this file.
1 /***************************************************************************************************
2  * Copyright 2020 NVIDIA Corporation. All rights reserved.
3  **************************************************************************************************/
6 
7 #ifndef MI_NEURAYLIB_ITILE_H
8 #define MI_NEURAYLIB_ITILE_H
9 
11 
12 namespace mi {
13 
14 namespace neuraylib {
15 
23 class ITile : public
35  mi::base::Interface_declare<0x0f0a0181,0x7640,0x4f60,0x9d,0xa7,0xb0,0xa0,0x09,0x17,0x1a,0xec>
36 {
37 public:
45  virtual void get_pixel(
46  Uint32 x_offset,
47  Uint32 y_offset,
48  Float32* floats) const = 0;
49 
57  virtual void set_pixel(
58  Uint32 x_offset,
59  Uint32 y_offset,
60  const Float32* floats) = 0;
61 
65  virtual const char* get_type() const = 0;
66 
68  virtual Uint32 get_resolution_x() const = 0;
69 
71  virtual Uint32 get_resolution_y() const = 0;
72 
85  virtual const void* get_data() const = 0;
86 
99  virtual void* get_data() = 0;
100 };
101  // end group mi_neuray_rendering
103 
104 } // namespace neuraylib
105 
106 } // namespace mi
107 
108 #endif // MI_NEURAYLIB_ITILE_H