共用方式為


MTLRenderCommandEncoder_Extensions.SetDepthClipMode 方法

定義

設定值,控制裁剪值的處理方式。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void SetDepthClipMode (this Metal.IMTLRenderCommandEncoder This, Metal.MTLDepthClipMode depthClipMode);
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void SetDepthClipMode (this Metal.IMTLRenderCommandEncoder This, Metal.MTLDepthClipMode depthClipMode);
static member SetDepthClipMode : Metal.IMTLRenderCommandEncoder * Metal.MTLDepthClipMode -> unit

參數

This
IMTLRenderCommandEncoder

這個方法運作所在的 實例。

depthClipMode
MTLDepthClipMode
屬性

適用於