gpuCache/CacheAlembicUtil.h

gpuCache/CacheAlembicUtil.h
#ifndef _CacheAlembicUtil_h_
#define _CacheAlembicUtil_h_
//-
//**************************************************************************/
// Copyright 2012 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk
// license agreement provided at the time of installation or download,
// or which otherwise accompanies this software in either electronic
// or hard copy form.
//**************************************************************************/
//+
// Includes
#include <string>
#include <tbb/mutex.h>
namespace CacheAlembicUtil{
//
// Big Alembic Mutex for all calls into Alembic library.
// This mutex should be the last mutex to lock and the first mutex to unlock.
// This mutex is not reentrant.
// For example,
// {
// tbb::recursive_mutex::scoped_lock lock(fMutex);
// ... access to this class's internal data structure ...
//
// {
// tbb::mutex::scoped_lock alembicLock(gsAlembicMutex);
// ... calls to Alembic library ...
// }
// }
//
extern tbb::mutex gsAlembicMutex;
extern const std::string kCustomPropertyWireIndices;
extern const std::string kCustomPropertyWireIndicesOld;
extern const std::string kCustomPropertyShadingGroupSizes;
extern const std::string kCustomPropertyDiffuseColor;
extern const std::string kCustomPropertyCreator;
extern const std::string kCustomPropertyCreatorValue;
extern const std::string kCustomPropertyVersion;
extern const std::string kCustomPropertyVersionValue;
extern const std::string kMaterialsObject;
extern const std::string kMaterialsGpuCacheTarget;
extern const std::string kMaterialsGpuCacheType;
}
#endif