다음을 통해 공유


IMTLArgumentEncoder.SetSamplerState(IMTLSamplerState, nuint) 메서드

정의

인수 버퍼로 인코딩합니다 sampler .

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

매개 변수

sampler
IMTLSamplerState

인수 버퍼 내의 샘플러입니다.

index
System.System.UIntPtr System.unativeint

샘플러 인덱스입니다. 금속 인덱스 ID 또는 의 인덱스 멤버입니다 MTLArgumentDescriptor.

특성

적용 대상