MPSKernel.Options Property

Definition

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

[get: Foundation.Export("options", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setOptions:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual MetalPerformanceShaders.MPSKernelOptions Options { get; 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