Share via


MPSKernel.Options Property

Definition

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

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