IMTLComputeCommandEncoder.SetSamplerState 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
SetSamplerState(IMTLSamplerState, nuint) | |
SetSamplerState(IMTLSamplerState, Single, Single, nuint) |
SetSamplerState(IMTLSamplerState, nuint)
[Foundation.Export("setSamplerState:atIndex:")]
[Foundation.Preserve(Conditional=true)]
public void SetSamplerState (Metal.IMTLSamplerState sampler, nuint index);
abstract member SetSamplerState : Metal.IMTLSamplerState * nuint -> unit
Parameters
- sampler
- IMTLSamplerState
- index
- System.System.UIntPtr System.unativeint
- Attributes
Applies to
SetSamplerState(IMTLSamplerState, Single, Single, nuint)
[Foundation.Export("setSamplerState:lodMinClamp:lodMaxClamp:atIndex:")]
[Foundation.Preserve(Conditional=true)]
public void SetSamplerState (Metal.IMTLSamplerState sampler, float lodMinClamp, float lodMaxClamp, nuint index);
abstract member SetSamplerState : Metal.IMTLSamplerState * single * single * nuint -> unit
Parameters
- sampler
- IMTLSamplerState
- lodMinClamp
- Single
- lodMaxClamp
- Single
- index
- System.System.UIntPtr System.unativeint
- Attributes