다음을 통해 공유


IMTLComputeCommandEncoder.SetSamplerState 메서드

정의

오버로드

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

매개 변수

index
System.System.UIntPtr System.unativeint
특성

적용 대상

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

매개 변수

lodMinClamp
Single
lodMaxClamp
Single
index
System.System.UIntPtr System.unativeint
특성

적용 대상