MTLDepthStencilDescriptor.depthCompareFunction

The comparison that is performed between a fragment’s depth value and the depth value in the attachment, which determines whether to discard the fragment.

  1. MTLCompareFunction depthCompareFunction()
    class MTLDepthStencilDescriptor
    @selector("depthCompareFunction")
    depthCompareFunction
    ()
  2. MTLCompareFunction depthCompareFunction(MTLCompareFunction )

Meta