Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::IColor Class Referenceabstract

This interface represents RGBA colors. More...

Inheritance diagram for mi::IColor:
mi::base::Interface_declare< 0x10a52754, 0xa1c7, 0x454c, 0x8a, 0x0b, 0x56, 0xd4, 0xd4, 0xdc, 0x62, 0x18, ICompound > mi::ICompound mi::base::Interface_declare< 0x65437cd6, 0x9727, 0x488c, 0xa9, 0xc5, 0x92, 0x42, 0x43, 0xf5, 0x5b, 0xa0, IData_collection > mi::IData_collection mi::base::Interface_declare< 0x1bb2be0f, 0x0dc6, 0x44b2, 0x93, 0xb9, 0xd1, 0xba, 0x6a, 0x31, 0x88, 0x1c, IData > mi::IData mi::base::Interface_declare< 0x2e5f84bc, 0x783a, 0x4551, 0x9f, 0xca, 0x72, 0x2f, 0xb8, 0x38, 0xc4, 0x7c > mi::base::IInterface

Public Member Functions

virtual Color_struct get_value () const =0
 Returns the color represented by this interface. More...
 
virtual void get_value (Color_struct &value) const =0
 Returns the color represented by this interface. More...
 
virtual void set_value (const Color_struct &value)=0
 Sets the color represented by this interface. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x10a52754, 0xa1c7, 0x454c, 0x8a, 0x0b, 0x56, 0xd4, 0xd4, 0xdc, 0x62, 0x18, ICompound >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
ICompound
Self
 Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
 Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0x10a52754, 0xa1c7, 0x454c, 0x8a, 0x0b, 0x56, 0xd4, 0xd4, 0xdc, 0x62, 0x18, ICompound >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

This interface represents RGBA colors.

It can be used to represent colors by an interface derived from mi::base::IInterface.

See Also
mi::Color_struct

Member Function Documentation

virtual Color_struct mi::IColor::get_value ( ) const
pure virtual

Returns the color represented by this interface.

virtual void mi::IColor::get_value ( Color_struct value) const
pure virtual

Returns the color represented by this interface.

virtual void mi::IColor::set_value ( const Color_struct value)
pure virtual

Sets the color represented by this interface.