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

Represents an argument block of a class-compiled material compiled for a specific target. More...

Inheritance diagram for mi::neuraylib::ITarget_argument_block:
mi::base::Interface_declare< 0xf2a5db20, 0x85ab, 0x4c41, 0x8c, 0x5f, 0x49, 0xc8, 0x29, 0x4a, 0x73, 0x65 > mi::base::IInterface

Public Member Functions

virtual const char * get_data () const =0
 Returns the target argument block data. More...
 
virtual char * get_data ()=0
 Returns the target argument block data. More...
 
virtual Size get_size () const =0
 Returns the size of the target argument block data. More...
 
virtual ITarget_argument_blockclone () const =0
 Clones the argument block (to make it writeable). More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0xf2a5db20, 0x85ab, 0x4c41, 0x8c, 0x5f, 0x49, 0xc8, 0x29, 0x4a, 0x73, 0x65 >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IInterface
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< 0xf2a5db20, 0x85ab, 0x4c41, 0x8c, 0x5f, 0x49, 0xc8, 0x29, 0x4a, 0x73, 0x65 >
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

Represents an argument block of a class-compiled material compiled for a specific target.

The layout of the data is given by the corresponding mi::neuraylib::ITarget_value_layout object.

See Instance-compilation and class-compilation for more details.

Member Function Documentation

virtual ITarget_argument_block* mi::neuraylib::ITarget_argument_block::clone ( ) const
pure virtual

Clones the argument block (to make it writeable).

virtual const char* mi::neuraylib::ITarget_argument_block::get_data ( ) const
pure virtual

Returns the target argument block data.

virtual char* mi::neuraylib::ITarget_argument_block::get_data ( )
pure virtual

Returns the target argument block data.

virtual Size mi::neuraylib::ITarget_argument_block::get_size ( ) const
pure virtual

Returns the size of the target argument block data.