|
Katana Plug-in APIs 0.1
|
Provides functions to allow an Op to configure how it's scheduled and evaluated by the Runtime. More...
#include <FnGeolibSetupInterface.h>
Public Types | |
| enum | ThreadMode { ThreadModeConcurrent = kFnKatGeolibThreadModeConcurrent, ThreadModeGlobalUnsafe = kFnKatGeolibThreadModeGlobalUnsafe } |
By default an Op can potentially be evaluated by the Runtime in multiple threads concurrently. The | |
Public Member Functions | |
| void | setThreading (ThreadMode threadmode) |
| Sets the concurrency constraints the Runtime must adhere to when evaluating this Op. | |
| void | setOpsCollapsible (const FnAttribute::StringAttribute &collapsedOpArgsGroupName) |
| Allows Geolib3 to collapse Ops of this type and make a single cook() call passing the accumulated Op Args as a group under the name specified by collapsedOpArgsGroupName. | |
Provides functions to allow an Op to configure how it's scheduled and evaluated by the Runtime.
By default an Op can potentially be evaluated by the Runtime in multiple threads concurrently. The ThreadMode enumeration provides a means to specify to the Runtime the concurrency requirements of an Op.
| void Foundry::Katana::GeolibSetupInterface::setOpsCollapsible | ( | const FnAttribute::StringAttribute & | collapsedOpArgsGroupName | ) |
Allows Geolib3 to collapse Ops of this type and make a single cook() call passing the accumulated Op Args as a group under the name specified by collapsedOpArgsGroupName.
| collapsedOpArgsGroupName | The name of the attribute under which the batch will be stored. |
| void Foundry::Katana::GeolibSetupInterface::setThreading | ( | ThreadMode | threadmode | ) |
Sets the concurrency constraints the Runtime must adhere to when evaluating this Op.
| threadmode | The thread mode (see ThreadMode) appropriate for this Op. |
1.7.3