temporaryState
TypeScriptstatic temporaryStateWith(cmdBuf: SDKHandle): MPSStateSwift declarationclass func temporaryState(with cmdBuf: any MTLCommandBuffer) -> Selfclass · iOS 11.0+ · SDK 27.1
class MPSStatestatic temporaryStateWith(cmdBuf: SDKHandle): MPSStateSwift declarationclass func temporaryState(with cmdBuf: any MTLCommandBuffer) -> Selfstatic temporaryStateWithBufferSize(cmdBuf: SDKHandle, bufferSize: number): MPSStateSwift declarationclass func temporaryState(with cmdBuf: any MTLCommandBuffer, bufferSize: Int) -> Selfstatic temporaryStateWithResourceList(commandBuffer: SDKHandle, resourceList: MPSStateResourceList): MPSStateSwift declarationclass func temporaryState(with commandBuffer: any MTLCommandBuffer, resourceList: MPSStateResourceList) -> Selfstatic temporaryStateWithTextureDescriptor(cmdBuf: SDKHandle, descriptor: _Metal_MTLTextureDescriptor): MPSStateSwift declarationclass func temporaryState(with cmdBuf: any MTLCommandBuffer, textureDescriptor descriptor: MTLTextureDescriptor) -> SelfbufferSize(index: number): numberSwift declarationfunc bufferSize(at index: Int) -> IntdestinationImageDescriptor(sourceImages: Array<MPSImage>, sourceStates: (Array<MPSState>) | null, kernel: MPSKernel, inDescriptor: MPSImageDescriptor): MPSImageDescriptorSwift declarationfunc destinationImageDescriptor(forSourceImages sourceImages: [MPSImage], sourceStates: [MPSState]?, for kernel: MPSKernel, suggestedDescriptor inDescriptor: MPSImageDescriptor) -> MPSImageDescriptorstatic initDeviceBufferSize(device: SDKHandle, bufferSize: number): MPSStateSwift declarationinit(device: any MTLDevice, bufferSize: Int)static initDeviceResourceList(device: SDKHandle, resourceList: MPSStateResourceList): MPSStateSwift declarationinit(device: any MTLDevice, resourceList: MPSStateResourceList)static initDeviceTextureDescriptor(device: SDKHandle, descriptor: _Metal_MTLTextureDescriptor): MPSStateSwift declarationinit(device: any MTLDevice, textureDescriptor descriptor: MTLTextureDescriptor)static initResource(resource?: (SDKHandle) | null): MPSStateSwift declarationinit(resource: (any MTLResource)?)static initResources(resources?: (Array<SDKHandle>) | null): MPSStateSwift declarationinit(resources: [any MTLResource]?)resourceAtAllocateMemory(index: number, allocateMemory: boolean): (SDKHandle) | nullSwift declarationfunc resource(at index: Int, allocateMemory: Bool) -> (any MTLResource)?resourceSize(): numberSwift declarationfunc resourceSize() -> IntresourceType(index: number): MPSStateResourceTypeSwift declarationfunc resourceType(at index: Int) -> MPSStateResourceTypesynchronize(commandBuffer: SDKHandle): voidSwift declarationfunc synchronize(on commandBuffer: any MTLCommandBuffer)textureInfo(index: number): MPSStateTextureInfoSwift declarationfunc textureInfo(at index: Int) -> MPSStateTextureInfoget isTemporary(): booleanSwift declarationvar isTemporary: Bool { get }get label(): (string) | nullSwift declarationvar label: String? { get set }set label(value: (string) | null)Swift declarationvar label: String? { get set }get readCount(): numberSwift declarationvar readCount: Int { get set }set readCount(value: number)Swift declarationvar readCount: Int { get set }get resource(): (SDKHandle) | nullSwift declarationvar resource: (any MTLResource)? { get }get resourceCount(): numberSwift declarationvar resourceCount: Int { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSState.init()
inherited init: cannot prove legal (class declares 5 custom initializers)