MTLDepthStencilDescriptor

An object that configures new MTLDepthStencilState objects.

Members

Aliases

ini
alias ini = initialize
Undocumented in source.
isDepthWriteEnabled
alias isDepthWriteEnabled = depthWriteEnabled
Undocumented in source.

Functions

depthCompareFunction
MTLCompareFunction 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.

depthCompareFunction
MTLCompareFunction depthCompareFunction(MTLCompareFunction )
Undocumented in source.
depthWriteEnabled
BOOL depthWriteEnabled()

A Boolean value that indicates whether depth values can be written to the depth attachment.

depthWriteEnabled
BOOL depthWriteEnabled(BOOL )
Undocumented in source.
initialize
MTLDepthStencilDescriptor initialize()
Undocumented in source.
label
NSString label()

A string that identifies this object.

label
NSString label(NSString )
Undocumented in source.

Static functions

alloc
MTLDepthStencilDescriptor alloc()
Undocumented in source.

Inherited Members

From NSObject

alloc
NSObject alloc()
Undocumented in source.
initialize
NSObject initialize()
Undocumented in source.
retain
NSObject retain()

Increments the receiver’s reference count.

new_
NSObject new_()

Allocates a new instance of the receiving class, sends it an init message, and returns the initialized object.

release
void release()

Decrements the receiver’s reference count.

dealloc
void dealloc()

Deallocates the memory occupied by the receiver.

autorelease
NSObject autorelease()

Decrements the receiver’s retain count at the end of the current autorelease pool block.

Meta