neuray API Programmer's Manual

mi::neuraylib::Tag_struct Struct Reference

[Mi_neuray_dice]

Description

A tag represents a unique identifier for database elements in the database. This POD type is the underlying storage class for mi::neuraylib::Tag. The POD type is used to pass arguments and return values safely across the API boundary. User code should use mi::neuraylib::Tag instead.

Due to class inheritance you can pass instances of mi::neuraylib::Tag for parameters of the POD type. Similarly, mi::neuraylib::Tag has a constructor that accepts the POD type as argument. Hence, you can assign the return value of methods returning an instance of the POD type directly to an instance of mi::neuraylib::Tag.

Public Variables

Uint32 id
The actual ID of the tag.

Variables

Uint32 mi::​neuraylib::​Tag_struct::id

The actual ID of the tag.