Instance Method

encodeToCommandBuffer:primaryImage:secondaryImage:destinationImage:

No overview available.

Declaration

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

See Also

Methods

- encodeToCommandBuffer:primaryTexture:inPlaceSecondaryTexture:fallbackCopyAllocator:

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

- encodeToCommandBuffer:inPlacePrimaryTexture:secondaryTexture:fallbackCopyAllocator:

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

- encodeToCommandBuffer:primaryTexture:secondaryTexture:destinationTexture:

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

- primarySourceRegionForDestinationSize:

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

- secondarySourceRegionForDestinationSize:

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