Share via


IMTLDepthStencilState Interface

Definition

System protocol for describing how the depth stencil should interact with the depth buffer during rendering.

[Foundation.Protocol(Name="MTLDepthStencilState", WrapperType=typeof(Metal.MTLDepthStencilStateWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="device", IsProperty=true, IsRequired=true, IsStatic=false, Name="Device", PropertyType=typeof(Metal.IMTLDevice), Selector="device")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="gpuResourceID", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuResourceId", PropertyType=typeof(Metal.MTLResourceId), Selector="gpuResourceID")]
public interface IMTLDepthStencilState : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="MTLDepthStencilState", WrapperType=typeof(Metal.MTLDepthStencilStateWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="device", IsProperty=true, IsRequired=true, IsStatic=false, Name="Device", PropertyType=typeof(Metal.IMTLDevice), Selector="device")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="gpuResourceID", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuResourceId", PropertyType=typeof(Metal.MTLResourceId), Selector="gpuResourceID")>]
type IMTLDepthStencilState = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Name Description
Device
GpuResourceId
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Label

Extension Methods

Name Description
GetGpuResourceId(IMTLDepthStencilState)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to