ai_file_utils.h
Go to the documentation of this file.
1// Copyright 2025 Autodesk, Inc. All rights reserved.
2//
3// Use of this software is subject to the terms of the Autodesk license
4// agreement provided at the time of installation or download, or which
5// otherwise accompanies this software in either electronic or hard copy form.
6
12#pragma once
13
14#include <ai_string.h>
15
23enum class AtFileType
24{
25 Custom,
26 Texture,
27 OSL,
28 Procedural,
29 Plugin,
30 Asset,
31};
32
46AI_API AtString AiResolveFilePath(const char* file_path, AtFileType file_type, const char* custom_path = NULL);
47
51AI_API AtString AiLibraryPath();
52
53/*\}*/
AtString class for fast comparisons.
Arnold String allows for fast string comparisons.
Definition: ai_string.h:54
AI_API AtString AiLibraryPath()
Returns the path to the Arnold library.
Definition: ai_file_utils.cpp:13
AI_API AtString AiResolveFilePath(const char *file_path, AtFileType file_type, const char *custom_path=NULL)
Processes a file path and resolves it against search paths.
Definition: ai_file_utils.cpp:8

© 2023 Autodesk, Inc. · All rights reserved · www.arnoldrenderer.com