Instance Property


The number of squares along each dimension in the checkerboard pattern.


@property(nonatomic, assign) float divisions;


For example, a value of 2 creates a checkerboard pattern of four squares (a 2 x 2 grid), where the top-left and bottom-right squares use the color1 color and the other two squares use the color2 color. A value of 4 creates a pattern of 16 squares (a 4 x 4 grid), and so on.

Changing the divisions, color1, or color2 properties invalidates the cache, causing Model I/O to regenerate texel data the next time it is needed.

See Also

Configuring the Checkerboard Pattern


The color for half of the squares in the checkerboard pattern.


The color for the other half of the squares in the checkerboard pattern.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software