MaterialX 1.39.1
Loading...
Searching...
No Matches
Environ.h
Go to the documentation of this file.
1//
2// Copyright Contributors to the MaterialX Project
3// SPDX-License-Identifier: Apache-2.0
4//
5
6#ifndef MATERIALX_ENVIRON_H
7#define MATERIALX_ENVIRON_H
8
11
13
15
16MATERIALX_NAMESPACE_BEGIN
17
19MX_FORMAT_API string getEnviron(const string& name);
20
22MX_FORMAT_API bool setEnviron(const string& name, const string& value);
23
25MX_FORMAT_API bool removeEnviron(const string& name);
26
27MATERIALX_NAMESPACE_END
28
29#endif // MATERIALX_ENVIRON_H
MX_FORMAT_API bool removeEnviron(const string &name)
Remove an environment variable by name.
MATERIALX_NAMESPACE_BEGIN MX_FORMAT_API string getEnviron(const string &name)
Return the value of an environment variable by name.
MX_FORMAT_API bool setEnviron(const string &name, const string &value)
Set an environment variable to a specified value.
Library-wide includes and types.
Macros for declaring imported and exported symbols.