Share via


IMTLDevice.CreateSamplerState(MTLSamplerDescriptor) Method

Definition

[Foundation.Export("newSamplerStateWithDescriptor:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.IMTLSamplerState? CreateSamplerState(Metal.MTLSamplerDescriptor descriptor);
[<Foundation.Export("newSamplerStateWithDescriptor:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateSamplerState : Metal.MTLSamplerDescriptor -> Metal.IMTLSamplerState
override this.CreateSamplerState : Metal.MTLSamplerDescriptor -> Metal.IMTLSamplerState

Parameters

Returns

Attributes

Applies to