Edytuj

Udostępnij za pośrednictwem


MTLRenderCommandEncoder_Extensions.SetDepthClipMode Method

Definition

Sets a value that controls how clipped values are handled.

[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

Parameters

This
IMTLRenderCommandEncoder

The instance on which this method operates.

depthClipMode
MTLDepthClipMode
Attributes

Applies to