MDL SDK 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
icolor.h
Go to the documentation of this file.
1
/***************************************************************************************************
2
* Copyright 2022 NVIDIA Corporation. All rights reserved.
3
**************************************************************************************************/
6
7
#ifndef MI_NEURAYLIB_ICOLOR_H
8
#define MI_NEURAYLIB_ICOLOR_H
9
10
#include <
mi/math/color.h
>
11
#include <
mi/neuraylib/icompound.h
>
12
#include <
mi/neuraylib/typedefs.h
>
13
14
namespace
mi {
15
20
class
IColor :
26
public
base::Interface_declare<0x10a52754,0xa1c7,0x454c,0x8a,0x0b,0x56,0xd4,0xd4,0xdc,0x62,0x18,
27
ICompound>
28
{
29
public
:
31
virtual
Color_struct
get_value
()
const
= 0;
32
34
virtual
void
get_value
(
Color_struct
& value)
const
= 0;
35
37
virtual
void
set_value
(
const
Color_struct
& value) = 0;
38
39
using
ICompound::get_value
;
40
41
using
ICompound::set_value
;
42
};
43
49
class
IColor3
:
50
public
base::Interface_declare
<0x1189e839,0x6d86,0x4bac,0xbc,0x72,0xb0,0xc0,0x2d,0xa9,0x3c,0x6c,
51
ICompound>
52
{
53
public
:
57
virtual
Color_struct
get_value
()
const
= 0;
58
62
virtual
void
get_value
(
Color_struct
& value)
const
= 0;
63
67
virtual
void
set_value
(
const
Color_struct
& value) = 0;
68
69
using
ICompound::get_value
;
70
71
using
ICompound::set_value
;
72
};
73
// end group mi_neuray_compounds
75
76
}
// namespace mi
77
78
#endif // MI_NEURAYLIB_ICOLOR_H
5 April 2022, 20:40, rev.358266
© 2022 NVIDIA Corporation.
All rights reserved.