neuray API Programmer's Manual

mi::neuraylib::ITarget_argument_block Class Reference

[MDL compiler]

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 mi_neuray_compilation_modes for more details.

Public Member Functions

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

Member Functions

virtual ITarget_argument_block* mi::​neuraylib::​ITarget_argument_block::clone() const [pure virtual]

Clones the argument block (to make it writable).

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.