ai_file_utils.h
Go to the documentation of this file.
1// Copyright 2021 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};
31
45AI_API AtString AiResolveFilePath(const char* file_path, AtFileType file_type, const char* custom_path = NULL);
46
47/*\}*/
AtString class for fast comparisons.
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

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