icolor.h File Reference
Description
Color type.
Code Example
icolor.h
/***************************************************************************************************
* Copyright 2024 NVIDIA Corporation. All rights reserved.
**************************************************************************************************/
#ifndef MI_NEURAYLIB_ICOLOR_H
#define MI_NEURAYLIB_ICOLOR_H
#include <mi/math/color.h>
#include <mi/neuraylib/icompound.h>
#include <mi/neuraylib/typedefs.h>
namespace mi {
class IColor :
public base::Interface_declare<0x10a52754,0xa1c7,0x454c,0x8a,0x0b,0x56,0xd4,0xd4,0xdc,0x62,0x18,
ICompound>
{
public:
virtual Color_struct
get_value() const = 0;
virtual void get_value( Color_struct& value) const = 0;
virtual void set_value( const Color_struct& value) = 0;
using ICompound::get_value;
using ICompound::set_value;
};
class IColor3 :
public base::Interface_declare<0x1189e839,0x6d86,0x4bac,0xbc,0x72,0xb0,0xc0,0x2d,0xa9,0x3c,0x6c,
ICompound>
{
public:
virtual Color_struct
get_value() const = 0;
virtual void get_value( Color_struct& value) const = 0;
virtual void set_value( const Color_struct& value) = 0;
using ICompound::get_value;
using ICompound::set_value;
};
// end group mi_neuray_compounds
} // namespace mi
#endif // MI_NEURAYLIB_ICOLOR_H
Namespaces
- namespace
- Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...