neuray API Programmer's Manual

idatabase_configuration.h File Reference

Description

API component that provides access to the database configuration.

Code Example

idatabase_configuration.h

‎/***************************************************************************************************
 * Copyright 2023 NVIDIA Corporation. All rights reserved.
 **************************************************************************************************/

#ifndef MI_NEURAYLIB_IDATABASE_CONFIGURATION_H
#define MI_NEURAYLIB_IDATABASE_CONFIGURATION_H

#include <mi/base/interface_declare.h>

namespace mi {

namespace neuraylib {


class IDatabase_configuration : public
    mi::base::Interface_declare<0x8f725100,0xf66c,0x4fa3,0xbf,0x89,0xb5,0xbf,0xea,0x6c,0x4c,0x30>
{
public:
    virtual Sint32 
               set_memory_limits( Size low_water, Size high_water) = 0;

    virtual void get_memory_limits( Size* low_water, Size* high_water) const = 0;

    virtual Sint32 
               set_memory_usage_tracking( bool flag) = 0;

    virtual bool get_memory_usage_tracking() const = 0;

    virtual Sint32 
               set_disk_swapping( const char* path) = 0;

    virtual const char* get_disk_swapping() const = 0;
};
 // end group mi_neuray_configuration

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IDATABASE_CONFIGURATION_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...

Classes

class 
This interface is used to query and change the database configuration. More...