Instance Method

encodeToCommandBuffer:sourceImage:destinationImage:

No overview available.

Declaration

- (void)encodeToCommandBuffer:(id<MTLCommandBuffer>)commandBuffer sourceImage:(MPSImage *)sourceImage destinationImage:(MPSImage *)destinationImage;

See Also

Methods

- encodeToCommandBuffer:inPlaceTexture:fallbackCopyAllocator:

This method attempts to apply a kernel in place on a texture.

MPSCopyAllocator

A block to make a copy of a source texture for filters that can only execute out of place.

- encodeToCommandBuffer:sourceTexture:destinationTexture:

Encodes a kernel into a command buffer, out of place.

- sourceRegionForDestinationSize:

Determines the region of the source texture that will be read for an encode operation.