One Logo Pool Ball
ModelIO · IOS API REFERENCE

MDLCheckerboardTexture

class · iOS 9.0+ · SDK 27.1

class MDLCheckerboardTexture

Members (7)

init · iOS 9.0+

init

TypeScript
static init(divisions: number, name: (string) | null, dimensions: SDKHandle, channelCount: number, channelEncoding: MDLTextureChannelEncoding, color1: _CoreGraphics_CGColor, color2: _CoreGraphics_CGColor): MDLCheckerboardTexture
Swift declaration
init(divisions: Float, name: String?, dimensions: vector_int2, channelCount: Int32, channelEncoding: MDLTextureChannelEncoding, color1: CGColor, color2: CGColor)
get · iOS 9.0+

color1

TypeScript
get color1(): (_CoreGraphics_CGColor) | null
Swift declaration
var color1: CGColor? { get set }
set · iOS 9.0+

color1

TypeScript
set color1(value: (_CoreGraphics_CGColor) | null)
Swift declaration
var color1: CGColor? { get set }
get · iOS 9.0+

color2

TypeScript
get color2(): (_CoreGraphics_CGColor) | null
Swift declaration
var color2: CGColor? { get set }
set · iOS 9.0+

color2

TypeScript
set color2(value: (_CoreGraphics_CGColor) | null)
Swift declaration
var color2: CGColor? { get set }
get · iOS 9.0+

divisions

TypeScript
get divisions(): number
Swift declaration
var divisions: Float { get set }
set · iOS 9.0+

divisions

TypeScript
set divisions(value: number)
Swift declaration
var divisions: Float { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MDLCheckerboardTexture.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All ModelIO types →