IMTLRenderCommandEncoder.SetObjectSamplerState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SetObjectSamplerState(IMTLSamplerState, UIntPtr) | |
| SetObjectSamplerState(IMTLSamplerState, Single, Single, UIntPtr) |
SetObjectSamplerState(IMTLSamplerState, UIntPtr)
[Foundation.Export("setObjectSamplerState:atIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetObjectSamplerState(Metal.IMTLSamplerState? sampler, UIntPtr index);
[<Foundation.Export("setObjectSamplerState:atIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetObjectSamplerState : Metal.IMTLSamplerState * unativeint -> unit
override this.SetObjectSamplerState : Metal.IMTLSamplerState * unativeint -> unit
Parameters
- sampler
- IMTLSamplerState
- index
-
UIntPtr
unativeint
- Attributes
Applies to
SetObjectSamplerState(IMTLSamplerState, Single, Single, UIntPtr)
[Foundation.Export("setObjectSamplerState:lodMinClamp:lodMaxClamp:atIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetObjectSamplerState(Metal.IMTLSamplerState? sampler, float lodMinClamp, float lodMaxClamp, UIntPtr index);
[<Foundation.Export("setObjectSamplerState:lodMinClamp:lodMaxClamp:atIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetObjectSamplerState : Metal.IMTLSamplerState * single * single * unativeint -> unit
override this.SetObjectSamplerState : Metal.IMTLSamplerState * single * single * unativeint -> unit
Parameters
- sampler
- IMTLSamplerState
- lodMinClamp
- Single
- lodMaxClamp
- Single
- index
-
UIntPtr
unativeint
- Attributes