ai_file_utils.h
Go to the documentation of this file.
1 // Copyright 2020 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 
23 enum class AtFileType
24 {
25  Custom,
26  Texture,
27  OSL,
28  Procedural,
29  Plugin
30 };
31 
45 AI_API AtString AiResolveFilePath(const char* file_path, AtFileType file_type, const char* custom_path = NULL);
46 
47 /*\}*/
Arnold String allows for fast string comparisons.
Definition: ai_string.h:46
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:6
AtString class for fast comparisons.

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