Contents

MTLCompareFunction

Options used to specify how a sample compare operation should be performed on a depth texture.

Declaration

enum MTLCompareFunction

Overview

Whenever the comparison test passes, the incoming fragment is compared to the stored data at the specified location.

Topics

Compare function options

Initializers

See Also

Declaring the depth comparison mode