Raster

Reference / Types

Public Types

The Raster types for images, graphs, GPU programs, output, and framework bridges.

This page maps the public Raster types by the part of the pipeline they belong to. Most applications work with a short list of these types. Each row names the type and the role it plays, and the related framework pages cover the behavior in more detail than the generated interface.

Core graph

TypeWhat it does
MTIImageImmutable image recipe, plus dimensions, alpha type, sampler, and cache policy.
MTIImagePromiseDeclares dependencies and knows how to resolve them into a texture.
MTIFilterMutable configuration that produces an output image.
MTIUnaryFilterFilter with one standard input image.
FilterGraphTyped Swift port connections and graph construction.
MTIContextThread-safe evaluation context, with caches, queues, pools, and output rendering.

GPU programs

TypeWhat it does
MTIFunctionDescriptorMetal function name, constants, and library location.
MTIRenderPipelineKernelReusable vertex/fragment program that creates render promises.
MTIComputePipelineKernelReusable compute program and dispatch configuration.
MTIRenderCommandOne draw call inside a render pass Raster created.
MTIRenderPassOutputDescriptorOutput dimensions, format, and attachment actions.
MTIDataBufferConstant or mutable structured data passed to Metal arguments.
MTIGeometryCustom vertex data and draw-call encoding.

Composition and effects

TypeWhat it does
MTIBlendFilterTwo-image blend with intensity, alpha output, and HDR headroom.
MultilayerCompositingFilterSwift layer-stack API over the Objective-C compositor.
MTILayerObjective-C layer representation used by the core compositor.
MTIMaskMask image, component, and interpretation.
MTIBlendMode / MTIBlendModesExtensible blend-mode identity and registry.

I/O and presentation

TypeWhat it does
MTICGImageLoadingOptionsColor matching, orientation behavior, and texture storage for image loading.
MTICVPixelBufferRenderingOptionsCore Video bridge and pixel-buffer input policy.
MTIDrawableRenderingRequestImage, drawable, resize mode, and destination behavior for display.
MTIImageView / MTIThreadSafeImageViewPlatform views that render an image through a context.
MTIRenderTaskIn-flight render completion and command-buffer lifetime.

Framework bridges

TypeWhat it does
MTICoreImageKernelCore Image closure or CIFilter evaluation inside a Raster promise.
MTICoreImageUnaryFilterMutable unary wrapper around a CIFilter.
MTIVideoCompositionAVFoundation composition backed by Raster rendering.
MTISCNSceneRendererSceneKit output as an image promise.
MTISKSceneRendererSpriteKit output as an image promise.

The built-in filter inventory is on Built-in Filters. Implementation locations for these types are on Repository Map.