Edit

Share via


MPSKernel.Options Property

Definition

Gets or sets the list of kernel options for running the shader.

public virtual MetalPerformanceShaders.MPSKernelOptions Options { [Foundation.Export("options", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setOptions:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.Options : MetalPerformanceShaders.MPSKernelOptions with get, set

Property Value

The list of kernel options for running the shader.

Attributes

Remarks

Application developers can use this field to allow reduced-precision types in calculations, skip validation, both, or neither.

Applies to