Share via


IMTLDevice.CreateDepthStencilState(MTLDepthStencilDescriptor) Method

Definition

[Foundation.Export("newDepthStencilStateWithDescriptor:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.IMTLDepthStencilState? CreateDepthStencilState(Metal.MTLDepthStencilDescriptor descriptor);
[<Foundation.Export("newDepthStencilStateWithDescriptor:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateDepthStencilState : Metal.MTLDepthStencilDescriptor -> Metal.IMTLDepthStencilState
override this.CreateDepthStencilState : Metal.MTLDepthStencilDescriptor -> Metal.IMTLDepthStencilState

Parameters

Returns

Attributes

Applies to