Iray SDK API nvidia_logo_transpbg.gif Up
irender_counters.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IRENDER_COUNTERS_H
8#define MI_NEURAYLIB_IRENDER_COUNTERS_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
32class IRender_counters : public
33 mi::base::Interface_declare<0x4a939dfe,0xf4de,0x44a4,0x98,0x3f,0x2e,0xaa,0x99,0x3c,0x33,0x4e>
34{
35public:
42 virtual bool get_value( const char* key, Float64& value) const = 0;
43
49 virtual const char* get_unit( const char* key) const = 0;
50
55 virtual const char* get_description( const char* key) const = 0;
56
62 virtual Size get_subkeys_size( const char* key) const = 0;
63
73 virtual const char* get_subkey( const char* key, Size index) const = 0;
74};
75 // end group mi_neuray_rendering
77
78} // namespace neuraylib
79
80} // namespace mi
81
82#endif // MI_NEURAYLIB_IRENDER_COUNTERS_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Performance counters for render modes.
Definition: irender_counters.h:34
virtual const char * get_unit(const char *key) const =0
Returns the unit of the value associated with a given key.
virtual Size get_subkeys_size(const char *key) const =0
Returns the number of subkeys of a key.
virtual bool get_value(const char *key, Float64 &value) const =0
Returns the value associated with a given key.
virtual const char * get_subkey(const char *key, Size index) const =0
Returns a subkey for a given key.
virtual const char * get_description(const char *key) const =0
Returns the description for a given key.
Uint64 Size
Unsigned integral type that is large enough to hold the size of all types.
Definition: types.h:112
double Float64
64-bit float.
Definition: types.h:52
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179