HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HUSD_ProjectConfig.h File Reference
#include "HUSD_API.h"
#include <UT/UT_StringHolder.h>
#include <UT/UT_Function.h>
+ Include dependency graph for HUSD_ProjectConfig.h:

Go to the source code of this file.

Typedefs

using HUSD_DoLayerDiffFn = UT_Function< bool(const UT_StringHolder &)>
 
using HUSD_PathWithVersionSpecifierFn = UT_Function< UT_StringHolder(const UT_StringHolder &)>
 
using HUSD_GetShotContextOptionFn = UT_Function< UT_StringHolder()>
 
using HUSD_ActiveShotTestFn = UT_Function< bool(const UT_StringHolder &, const UT_StringHolder &)>
 

Functions

HUSD_API void HUSDsetDoLayerDiffCallback (HUSD_DoLayerDiffFn cb)
 
HUSD_API HUSD_DoLayerDiffFn HUSDgetDoLayerDiffCallback ()
 
HUSD_API void HUSDsetPathWithVersionSpecifierCallback (HUSD_PathWithVersionSpecifierFn cb)
 
HUSD_API
HUSD_PathWithVersionSpecifierFn 
HUSDgetPathWithVersionSpecifierCallback ()
 
HUSD_API void HUSDsetActiveShotContextOption (HUSD_GetShotContextOptionFn cb)
 
HUSD_API UT_StringHolder HUSDgetActiveShotContextOption ()
 
HUSD_API void HUSDsetActiveShotTest (HUSD_ActiveShotTestFn test)
 
HUSD_API HUSD_ActiveShotTestFn HUSDgetActiveShotTest ()
 

Typedef Documentation

Add a callback that is run to determine if the supplied unit is active given the provided "current unit". The test function is passed (shot match pattern, current shot). Return true if the current shot matches the supplied pattern.

Definition at line 59 of file HUSD_ProjectConfig.h.

Global methods for hooking LOP behavior back to a higher level project configuration tool. Add a callback that is invoked right before a layer is written to disk. Return false from the callback if the layer should not be written to disk.

Definition at line 31 of file HUSD_ProjectConfig.h.

Global setting to control the context option that is used to identify the "current shot".

Definition at line 50 of file HUSD_ProjectConfig.h.

Add a callback that is invoked during a USD save operation. In particular, if a USD file is being saved one frame at a time, and the asset resolver for the output file automatically creates new file versions, we use the value returned here to make sure that ever subsequent frame data is saved to the version of the file created by the first save operation.

Definition at line 41 of file HUSD_ProjectConfig.h.

Function Documentation

HUSD_API UT_StringHolder HUSDgetActiveShotContextOption ( )
HUSD_API HUSD_ActiveShotTestFn HUSDgetActiveShotTest ( )
HUSD_API HUSD_DoLayerDiffFn HUSDgetDoLayerDiffCallback ( )
HUSD_API HUSD_PathWithVersionSpecifierFn HUSDgetPathWithVersionSpecifierCallback ( )
HUSD_API void HUSDsetActiveShotContextOption ( HUSD_GetShotContextOptionFn  cb)
HUSD_API void HUSDsetActiveShotTest ( HUSD_ActiveShotTestFn  test)
HUSD_API void HUSDsetDoLayerDiffCallback ( HUSD_DoLayerDiffFn  cb)
HUSD_API void HUSDsetPathWithVersionSpecifierCallback ( HUSD_PathWithVersionSpecifierFn  cb)