共用方式為


IMTLRenderCommandEncoder.SetFragmentSamplerState 方法

定義

多載

SetFragmentSamplerState(IMTLSamplerState, nuint)
SetFragmentSamplerState(IMTLSamplerState, Single, Single, nuint)

SetFragmentSamplerState(IMTLSamplerState, nuint)

[Foundation.Export("setFragmentSamplerState:atIndex:")]
[Foundation.Preserve(Conditional=true)]
public void SetFragmentSamplerState (Metal.IMTLSamplerState sampler, nuint index);
abstract member SetFragmentSamplerState : Metal.IMTLSamplerState * nuint -> unit

參數

index
System.System.UIntPtr System.unativeint
屬性

適用於

SetFragmentSamplerState(IMTLSamplerState, Single, Single, nuint)

[Foundation.Export("setFragmentSamplerState:lodMinClamp:lodMaxClamp:atIndex:")]
[Foundation.Preserve(Conditional=true)]
public void SetFragmentSamplerState (Metal.IMTLSamplerState sampler, float lodMinClamp, float lodMaxClamp, nuint index);
abstract member SetFragmentSamplerState : Metal.IMTLSamplerState * single * single * nuint -> unit

參數

lodMinClamp
Single
lodMaxClamp
Single
index
System.System.UIntPtr System.unativeint
屬性

適用於