Function

CGLayerGetTypeID

Returns the unique type identifier used for CGLayerRef objects.

Declaration

CFTypeID CGLayerGetTypeID(void);

Return Value

The type identifier for CGLayer objects.

Discussion

A type identifier is an integer that identifies the opaque type to which a Core Foundation object belongs. You use type IDs in various contexts, such as when you are operating on heterogeneous collections.