Material Definition Language API
Up
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
icanvas.h
Go to the documentation of this file.
1
/***************************************************************************************************
2
* Copyright 2019 NVIDIA Corporation. All rights reserved.
3
**************************************************************************************************/
6
7
#ifndef MI_NEURAYLIB_ICANVAS_H
8
#define MI_NEURAYLIB_ICANVAS_H
9
10
#include <
mi/base/interface_declare.h
>
11
12
namespace
mi {
13
14
namespace
neuraylib {
15
16
class
ITile;
17
25
class
ICanvas_base :
public
32
mi::base::Interface_declare
<0x649fc7bd,0xc021,0x4aff,0x9e,0xa4,0x5b,0xab,0x18,0xb9,0x25,0x59>
33
{
34
public
:
36
virtual
Uint32
get_resolution_x
()
const
= 0;
37
39
virtual
Uint32
get_resolution_y
()
const
= 0;
40
44
virtual
const
char
*
get_type
()
const
= 0;
45
47
virtual
Uint32
get_layers_size
()
const
= 0;
48
53
virtual
Float32
get_gamma
()
const
= 0;
54
58
virtual
void
set_gamma
(
Float32
gamma) = 0;
59
60
};
61
105
class
ICanvas
:
public
106
mi::base::Interface_declare
<0x20e5d5de,0x1f61,0x441c,0x88,0x88,0xff,0x85,0x89,0x98,0x7a,0xfa,
107
neuraylib::ICanvas_base>
108
{
109
public
:
110
112
virtual
Uint32
get_tile_resolution_x
()
const
= 0;
113
115
virtual
Uint32
get_tile_resolution_y
()
const
= 0;
116
118
virtual
Uint32
get_tiles_size_x
()
const
= 0;
119
121
virtual
Uint32
get_tiles_size_y
()
const
= 0;
122
130
virtual
const
ITile
*
get_tile
(
Uint32
pixel_x,
Uint32
pixel_y,
Uint32
layer = 0)
const
= 0;
131
139
virtual
ITile
*
get_tile
(
Uint32
pixel_x,
Uint32
pixel_y,
Uint32
layer = 0) = 0;
140
};
141
// end group mi_neuray_rendering
143
144
}
// namespace neuraylib
145
146
}
// namespace mi
147
148
#endif // MI_NEURAYLIB_ICANVAS_H
20 February 2019, 22:00, revision 315630, Doxygen 1.8.4
© 1986, 2019 NVIDIA Corporation.
All rights reserved.