NVIDIA IndeX API nvidia_logo_transpbg.gif Up
iscene_element.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_ISCENE_ELEMENT_H
8#define NVIDIA_INDEX_ISCENE_ELEMENT_H
9
10#include <mi/dice.h>
11#include <mi/base/interface_declare.h>
12
13namespace nv {
14
15namespace index {
16
24 public mi::base::Interface_declare<0x62a00ed6,0x8688,0x4edb,0x9c,0x03,0x36,0xcc,0xb4,0xf1,0x49,0x6f,
25 mi::neuraylib::IElement>
26{
27public:
38 virtual void set_enabled(bool enable) = 0;
39
44 virtual bool get_enabled() const = 0;
45
56 virtual void set_meta_data(mi::neuraylib::Tag_struct tag) = 0;
57
63 virtual mi::neuraylib::Tag_struct get_meta_data() const = 0;
64};
65
66}} // namespace index / nv
67
68#endif // NVIDIA_INDEX_ISCENE_ELEMENT_H
The interface class represents scene elements.
Definition: iscene_element.h:26
virtual void set_enabled(bool enable)=0
Enable or disable a scene element for inclusion in rendering.
virtual mi::neuraylib::Tag_struct get_meta_data() const =0
Retrieve the scene element's reference to user-defined metadata.
virtual void set_meta_data(mi::neuraylib::Tag_struct tag)=0
Add metadata to a scene element.
virtual bool get_enabled() const =0
Retrieve if a scene element is enabled or disabled from rendering.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349