MTLRenderCommandEncoder_Extensions.SetTileSamplerState 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetTileSamplerState(IMTLRenderCommandEncoder, IMTLSamplerState, nuint) | |
SetTileSamplerState(IMTLRenderCommandEncoder, IMTLSamplerState, Single, Single, nuint) |
SetTileSamplerState(IMTLRenderCommandEncoder, IMTLSamplerState, nuint)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void SetTileSamplerState(this Metal.IMTLRenderCommandEncoder This, Metal.IMTLSamplerState sampler, nuint index);
static member SetTileSamplerState : Metal.IMTLRenderCommandEncoder * Metal.IMTLSamplerState * nuint -> unit
參數
- sampler
- IMTLSamplerState
- index
- System.System.UIntPtr System.unativeint
- 屬性
適用於
SetTileSamplerState(IMTLRenderCommandEncoder, IMTLSamplerState, Single, Single, nuint)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void SetTileSamplerState(this Metal.IMTLRenderCommandEncoder This, Metal.IMTLSamplerState sampler, float lodMinClamp, float lodMaxClamp, nuint index);
static member SetTileSamplerState : Metal.IMTLRenderCommandEncoder * Metal.IMTLSamplerState * single * single * nuint -> unit
參數
- sampler
- IMTLSamplerState
- lodMinClamp
- Single
- lodMaxClamp
- Single
- index
- System.System.UIntPtr System.unativeint
- 屬性