z

Size: a a a
z
@
MR
О
О
ПГ
IN
RF
T
func render() {
let renderPassDescriptor = MTLRenderPassDescriptor()
guard let drawable = metalLayer.nextDrawable() else {return}
renderPassDescriptor.colorAttachments[0].texture = drawable.
texture
renderPassDescriptor.colorAttachments[0].loadAction = .clear
renderPassDescriptor.colorAttachments[0].clearColor =
MTLClearColor(red: 221.0/255.0, green: 160.0/255.0,
blue: 221.0/255.0, alpha: 1.0)
}
NI
IS
D
D
NU
1
AT
NU
AT