IMTLComputeCommandEncoder.SetSamplerState 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- sampler
- IMTLSamplerState
- 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
参数
- sampler
- IMTLSamplerState
- lodMinClamp
- Single
- lodMaxClamp
- Single
- index
- System.System.UIntPtr System.unativeint
- 属性