Iray SDK API nvidia_logo_transpbg.gif Up
idatabase_configuration.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IDATABASE_CONFIGURATION_H
8#define MI_NEURAYLIB_IDATABASE_CONFIGURATION_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
22 mi::base::Interface_declare<0x8f725100,0xf66c,0x4fa3,0xbf,0x89,0xb5,0xbf,0xea,0x6c,0x4c,0x30>
23{
24public:
56 virtual Sint32 set_memory_limits( Size low_water, Size high_water) = 0;
57
64 virtual void get_memory_limits( Size* low_water, Size* high_water) const = 0;
65
78 virtual Sint32 set_memory_usage_tracking( bool flag) = 0;
79
83 virtual bool get_memory_usage_tracking() const = 0;
84
100 virtual Sint32 set_disk_swapping( const char* path) = 0;
101
109 virtual const char* get_disk_swapping() const = 0;
110};
111 // end group mi_neuray_configuration
113
114} // namespace neuraylib
115
116} // namespace mi
117
118#endif // MI_NEURAYLIB_IDATABASE_CONFIGURATION_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface is used to query and change the database configuration.
Definition: idatabase_configuration.h:23
virtual Sint32 set_disk_swapping(const char *path)=0
Configures the directory for disk swapping.
virtual bool get_memory_usage_tracking() const =0
Indicates whether tracking of memory usage of the database is enabled.
virtual Sint32 set_memory_limits(Size low_water, Size high_water)=0
Sets the limits for memory usage of the database.
virtual Sint32 set_memory_usage_tracking(bool flag)=0
Configures tracking of memory usage of the database.
virtual const char * get_disk_swapping() const =0
Returns the configured directory for disk swapping.
virtual void get_memory_limits(Size *low_water, Size *high_water) const =0
Returns the limits for memory usage of the database.
Uint64 Size
Unsigned integral type that is large enough to hold the size of all types.
Definition: types.h:112
signed int Sint32
32-bit signed integer.
Definition: types.h:46
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179