What's New in Bifrost 2.12.0.0 SDK shipping with Bifrost 2.12.0.0 for Maya
Bifrost 2.12.0.0 SDK CMake files use CMake 3.20 and up.
Bifrost 2.12.0.0 SDK contains API breaking changes
CMake
- CMake
setup.cmakefile adds definition of/Zc:__cplusplusfor Windows (reports an updated value for recent C++).
Amino
Core
Core/RuntimeServices.hNew functionality to log to an “output stream”
// Declare a stream that can be passed to // the runtime services. std::stringstream ss; Amino::RuntimeServices rs{&ss};`
Bifrost
Geometry
- New Volume and Point standard Geo Property keys (strings) ex.:
sVoxelPressure,sVoxelChurn…
BifrostGraph
Workspace.h- New functions to get registered new Watchpoint objects and get the new WatchpointLayoutFactory.
Watchpoint.h- Deprecated previous Watchpoint API. The new API uses
Amino::TypeId- Addition of
class BIFROSTGRAPH_EXECUTOR_SHARED_DECL Watcherwhich is the interface to get the watchpoint layout and values.
- Addition of
- Deprecated previous Watchpoint API. The new API uses
WatchpointLayout.h- New Watchpoint layout classes for basic types, composite types, arrays …
- See example
sdk/examples/ExecutorWatchpoint.
Examples
sdk/examples/ExecutorWatchpoint-- Shows usage of the new Executor watchpoint classes.
- The example specializes
BifrostGraph::Executor::Watchpoint::WatcherandBifrostGraph::Executor::Watchpointfor a simple periodic table of elements. - The example also shows how watchpoint callbacks are registered by exposing
createBifrostWatchpointentry point and loading the watchpoint library via a bifrost config file.
