NVIDIA IndeX API nvidia_logo_transpbg.gif Up
idiagnostic_rendering_properties.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_IDIAGNOSTIC_RENDERING_PROPERTIES_H
8#define NVIDIA_INDEX_IDIAGNOSTIC_RENDERING_PROPERTIES_H
9
10#include <nv/index/iattribute.h>
11
12namespace nv {
13namespace index {
14
20 public mi::base::Interface_declare<0xd0c69d46,0x9511,0x4285,0x85,0x3e,0xb1,0xb2,0x70,0x99,0x45,0xe7,
21 nv::index::IAttribute>
22{
23public:
26 {
39 };
40
43 {
47 FLOAT32
48 };
49
54 virtual bool set_property(mi::Sint32 prop, mi::Float64 value) = 0;
58 virtual mi::Float64 get_property(mi::Sint32 prop) const = 0;
61 virtual mi::Uint32 get_property_count() const = 0;
65 virtual Property_type get_property_type(mi::Sint32 prop) const = 0;
69 virtual const char* get_property_name(mi::Sint32 prop) const = 0;
70};
71
72}} // namespace index / nv
73
74#endif // NVIDIA_INDEX_IDIAGNOSTIC_RENDERING_PROPERTIES_H
Interface representing rendering properties for diagnostic rendering.
Definition: idiagnostic_rendering_properties.h:22
virtual bool set_property(mi::Sint32 prop, mi::Float64 value)=0
Setting a property.
virtual mi::Float64 get_property(mi::Sint32 prop) const =0
Getting a property.
virtual Property_type get_property_type(mi::Sint32 prop) const =0
Getting a property type for a property identifier.
Property
Property identifiers.
Definition: idiagnostic_rendering_properties.h:26
@ DEVICE_ID
[int] (-1) Restrict rendering to given device id, -1 == all devices.
Definition: idiagnostic_rendering_properties.h:38
@ SMOOTHING
[float] (1) Smoothing range of wireframe line, 0 == no smoothing.
Definition: idiagnostic_rendering_properties.h:32
@ HOST_ID
[int] (-1) Restrict rendering to given host id, -1 == all hosts.
Definition: idiagnostic_rendering_properties.h:37
@ OPACITY_BACK
[float] (1) Opacity factor of back (far) surfaces of subregion boxes.
Definition: idiagnostic_rendering_properties.h:30
@ MODE
[uint] (0) Render mode 0:off, 1:subregions + scene, 2:subregions only
Definition: idiagnostic_rendering_properties.h:27
@ ITEM_LIMIT
[int] (0) Limit number of subregions rendered (per device), 0 == unlimited.
Definition: idiagnostic_rendering_properties.h:33
@ FRAME_CYCLE
[int] (0) Switch ITEM_LIMIT after number of frames, when animating ITEM_LIMIT.
Definition: idiagnostic_rendering_properties.h:36
@ WIRE_SIZE
[float] (1) Size of wireframe line, in pixels.
Definition: idiagnostic_rendering_properties.h:31
@ OPACITY_FRONT
[float] (1) Opacity factor of front (near) surfaces of subregion boxes.
Definition: idiagnostic_rendering_properties.h:29
@ OPACITY
[float] (0.25) Opacity of surfaces of subregion boxes.
Definition: idiagnostic_rendering_properties.h:28
@ ITEM_START
[int] (0) Index of first subregion rendered (per device).
Definition: idiagnostic_rendering_properties.h:35
virtual mi::Uint32 get_property_count() const =0
Get the number of the set property values.
Property_type
Underlying datatype of a property.
Definition: idiagnostic_rendering_properties.h:43
@ FLOAT32
! 32-bit floating-point type.
Definition: idiagnostic_rendering_properties.h:47
@ INVALID_TYPE
! Undefined/invalid type
Definition: idiagnostic_rendering_properties.h:44
@ SIGNED_INT32
! Signed 32-bit integer type.
Definition: idiagnostic_rendering_properties.h:45
@ UNSIGNED_INT32
! Unsigned 32-bit integer type.
Definition: idiagnostic_rendering_properties.h:46
virtual const char * get_property_name(mi::Sint32 prop) const =0
Getting a property type as string for a property identifier.
Base class representing attributes that can be defined in a scene description.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349