Contents

init(options:threadCount:allocator:deallocator:)

Returns a new common filter parameters structure using the specified options.

Declaration

init(options: BNNSFlags, threadCount: Int, allocator: BNNSAlloc?, deallocator: BNNSFree?)

Parameters

  • options:

    The options that control the behavior of a filter parameter.

  • threadCount:

    The maximum number of threads that the filter executes. Set to 0 to specify that the filter automatically selects the number of threads. Set to 1 to specify that the filter operates on a single thread.

  • allocator:

    The function the filter calls to allocate memory.

  • deallocator:

    The function the filter calls to deallocate memory.

See Also

Initializers