Поделиться через


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
Атрибуты

Применяется к