One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSTemporaryImage

class · iOS 10.0+ · SDK 27.1

class MPSTemporaryImage

Members (7)

static · iOS 10.0+

defaultAllocator

TypeScript
static defaultAllocator(): SDKHandle
Swift declaration
class func defaultAllocator() -> any MPSImageAllocator
static · iOS 10.0+

prefetchStorage

TypeScript
static prefetchStorage(commandBuffer: SDKHandle, descriptorList: Array<MPSImageDescriptor>): void
Swift declaration
class func prefetchStorage(with commandBuffer: any MTLCommandBuffer, imageDescriptorList descriptorList: [MPSImageDescriptor])
init · iOS 10.0+

init

TypeScript
static initCommandBufferImageDescriptor(commandBuffer: SDKHandle, imageDescriptor: MPSImageDescriptor): MPSTemporaryImage
Swift declaration
convenience init(commandBuffer: any MTLCommandBuffer, imageDescriptor: MPSImageDescriptor)
init · iOS 10.0+

init

TypeScript
static initCommandBufferTextureDescriptor(commandBuffer: SDKHandle, textureDescriptor: _Metal_MTLTextureDescriptor): MPSTemporaryImage
Swift declaration
convenience init(commandBuffer: any MTLCommandBuffer, textureDescriptor: MTLTextureDescriptor)
init · iOS 11.3+

init

TypeScript
static initCommandBufferTextureDescriptorFeatureChannels(commandBuffer: SDKHandle, textureDescriptor: _Metal_MTLTextureDescriptor, featureChannels: number): MPSTemporaryImage
Swift declaration
convenience init(commandBuffer: any MTLCommandBuffer, textureDescriptor: MTLTextureDescriptor, featureChannels: Int)
get · iOS 10.0+

readCount

TypeScript
get readCount(): number
Swift declaration
var readCount: Int { get set }
set · iOS 10.0+

readCount

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

Skipped declarations

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

MPSTemporaryImage.init()

inherited init: cannot prove legal (class declares 3 custom initializers)

All MetalPerformanceShaders types →