Functions
ai_scene.h File Reference

API for reading and writing scene file formats. More...

#include <ai_map.h>

Go to the source code of this file.

Functions

AI_API bool AiSceneLoad (AtUniverse *universe, const char *filename, const AtParamValueMap *params)
 Load all nodes from a scene file into a specific Arnold universe. More...
 
AI_API bool AiSceneWrite (AtUniverse *universe, const char *filename, const AtParamValueMap *params, const AtMetadataStore *mds=NULL)
 Write all nodes in the given universe to a scene file. More...
 
AI_API bool AiSceneFormatSupported (const char *extension)
 Check if the scene format corresponding to a given filename extension is supported. More...
 
Node Iterator API
AI_API AtSceneFormatIteratorAiSceneFormatIterator ()
 Get new scene format iterator. More...
 
AI_API void AiSceneFormatIteratorDestroy (AtSceneFormatIterator *iter)
 Destroys scene format iterator and releases any allocated memory. More...
 
AI_API const AtSceneFormatDataAiSceneFormatIteratorGetNext (AtSceneFormatIterator *iter)
 Gets the next supported scene format. More...
 
AI_API AI_PURE bool AiSceneFormatIteratorFinished (const AtSceneFormatIterator *iter)
 Check if there are more scene formats to iterate over. More...
 
AI_API AtSceneFormatExtensionIteratorAiSceneFormatGetExtensionIterator (const AtSceneFormatData *format_data)
 Get an iterator over all supported extensions for this scene format. More...
 
AI_API void AiSceneFormatExtensionIteratorDestroy (AtSceneFormatExtensionIterator *iter)
 Destroys scene format extension iterator and releases any allocated memory. More...
 
AI_API const char * AiSceneFormatExtensionIteratorGetNext (AtSceneFormatExtensionIterator *iter)
 Gets the next supported scene format extension. More...
 
AI_API AI_PURE bool AiSceneFormatExtensionIteratorFinished (const AtSceneFormatExtensionIterator *iter)
 Check if there are more scene formats extensions to iterate over. More...
 
AI_API AI_PURE const char * AiSceneFormatGetName (const AtSceneFormatData *format_data)
 Get the name of the scene format. More...
 
AI_API AI_PURE const char * AiSceneFormatGetDescription (const AtSceneFormatData *format_data)
 Get a description of the scene format. More...
 
AI_API AI_PURE bool AiSceneFormatSupportsReading (const AtSceneFormatData *format_data)
 True if the scene format supports reading from file. More...
 
AI_API AI_PURE bool AiSceneFormatSupportsWriting (const AtSceneFormatData *format_data)
 True if the scene format supports writing to a file. More...
 
AI_API const AtMetadataStoreAiSceneFormatGetMetadataStore (const AtSceneFormatData *format_data)
 Get metadata for the scene format and its optional parameters. More...
 

Detailed Description

API for reading and writing scene file formats.


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