Why cant I set the delegate to self? I\'m running the code below in the viewcontroller.swift file, but I want to call it in a Render.swift file. I\'ve got a metal scene runn