View.setFormat

View.setFormat(self, format: PySide2.QtGui.QSurfaceFormat) None