ai_dotass.h
Go to the documentation of this file.
1// Copyright 2023 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#include "ai_node_entry.h"
14#include "ai_scene.h"
15
16struct AtMetadataStore;
17class AtUniverse;
18
42// This is the new API, supporting multiple universes.
43AI_API AI_DEPRECATED int AiASSWrite(AtUniverse* universe, const char* filename, int mask = AI_NODE_ALL, bool open_procs = false, bool binary = true);
44AI_API AI_DEPRECATED int AiASSWriteWithMetadata(AtUniverse* universe, const char* filename, int mask = AI_NODE_ALL, bool open_procs = false, bool binary = true, const AtMetadataStore* mds = NULL);
45AI_API AI_DEPRECATED int AiASSLoad(AtUniverse* universe, const char* filename, int mask = AI_NODE_ALL);
46
47/*\}*/
AtNodeEntry type and methods.
API for reading and writing scene file formats.
AI_API AI_DEPRECATED int AiASSWriteWithMetadata(AtUniverse *universe, const char *filename, int mask=AI_NODE_ALL, bool open_procs=false, bool binary=true, const AtMetadataStore *mds=NULL)
Write all nodes in a given universe to an .ass file, including metadata.
Definition: ai_dotass.cpp:51
AI_API AI_DEPRECATED int AiASSWrite(AtUniverse *universe, const char *filename, int mask=AI_NODE_ALL, bool open_procs=false, bool binary=true)
Write all nodes in the given universe to an .ass file.
Definition: ai_dotass.cpp:32
AI_API AI_DEPRECATED int AiASSLoad(AtUniverse *universe, const char *filename, int mask=AI_NODE_ALL)
Load all nodes from an .ass file into a specific Arnold universe.
Definition: ai_dotass.cpp:86
#define AI_NODE_ALL
Bitmask including all node types, used by AiASSWrite()
Definition: ai_node_entry.h:48
This structure holds a generic list of metadata items, each of which could optionally be associated t...
This represents a universe in Arnold.

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