MPSCopyAllocator Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Commands to copy a source texture to a new location. Used for out-of-place filters.
public delegate Foundation.NSObject MPSCopyAllocator(MPSKernel filter, NSObject commandBuffer, NSObject sourceTexture);
type MPSCopyAllocator = delegate of MPSKernel * NSObject * NSObject -> NSObject
Parameters
- commandBuffer
- NSObject
A command buffer that gets the device on which to allocate space for the texture data, along with optional commands to initialize the texture with an encoder.
- sourceTexture
- NSObject
The source image.
Return Value
Returns a IMTLTexture into which texture data can be written.
Remarks
Application developers must not enque the commandBuffer
parameter, enqueue it, nor wait for scheduling events on it.