One Logo Pool Ball
Accelerate · IOS API REFERENCE

BNNSFilterParameters

struct · SDK 27.1

struct BNNSFilterParameters

Members (13)

get

alloc_memory

TypeScript
get alloc_memory(): (((arg0: (SDKHandle) | null, arg1: number, arg2: number) => Promise<number>)) | null
Swift declaration
var alloc_memory: BNNSAlloc?
get

flags

TypeScript
get flags(): number
Swift declaration
var flags: UInt32
set

flags

TypeScript
set flags(value: number)
Swift declaration
var flags: UInt32
get

free_memory

TypeScript
get free_memory(): (((arg0: (SDKHandle) | null) => Promise<void>)) | null
Swift declaration
var free_memory: BNNSFree?
get

n_threads

TypeScript
get n_threads(): number
Swift declaration
var n_threads: Int
set

n_threads

TypeScript
set n_threads(value: number)
Swift declaration
var n_threads: Int
get · iOS 15.0+

deallocator

TypeScript
get deallocator(): (((arg0: (SDKHandle) | null) => Promise<void>)) | null
Swift declaration
var deallocator: BNNSFree? { get set }

The function called to deallocate memory.

get · iOS 15.0+

threadCount

TypeScript
get threadCount(): number
Swift declaration
var threadCount: Int { get set }

The number of worker threads to execute. If 0, BNNS uses the best number of threads for the current machine.

set · iOS 15.0+

threadCount

TypeScript
set threadCount(value: number)
Swift declaration
var threadCount: Int { get set }

The number of worker threads to execute. If 0, BNNS uses the best number of threads for the current machine.

get · iOS 15.0+

options

TypeScript
get options(): BNNSFlags
Swift declaration
var options: BNNSFlags { get set }

Options that control the behavior of a filter parameter.

set · iOS 15.0+

options

TypeScript
set options(value: BNNSFlags)
Swift declaration
var options: BNNSFlags { get set }

Options that control the behavior of a filter parameter.

get · iOS 15.0+

allocator

TypeScript
get allocator(): (((arg0: (SDKHandle) | null, arg1: number, arg2: number) => Promise<number>)) | null
Swift declaration
var allocator: BNNSAlloc? { get set }

The function called to allocate memory.

init

init

TypeScript
static init(): BNNSFilterParameters
Swift declaration
init()

Skipped declarations

6 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

BNNSFilterParameters.init(options:threadCount:allocator:deallocator:)

This output pointer cannot safely be represented by the bridge.

BNNSFilterParameters.allocator

closure property answers its caller

BNNSFilterParameters.deallocator

The iOS SDK compiler rejected this binding: a C function pointer can only be formed from a reference to a 'func' or a literal closure

BNNSFilterParameters.init(flags:n_threads:alloc_memory:free_memory:)

This output pointer cannot safely be represented by the bridge.

BNNSFilterParameters.alloc_memory

closure property answers its caller

BNNSFilterParameters.free_memory

The iOS SDK compiler rejected this binding: a C function pointer can only be formed from a reference to a 'func' or a literal closure

All Accelerate types →