supportedRenderedTexturePixelFormats()
Returns a list of pixel formats that are supported for rendering to an onscreen OpenGL context.
Declaration
optional func supportedRenderedTexturePixelFormats() -> [Any]!Return Value
Returns the list of texture pixel formats supported by copyRenderedTexture(forCGLContext:pixelFormat:bounds:isFlipped:) or nil if not supported.
Discussion
If this method returns nil, then Quartz Composer calls canRender(withCGLContext:) /render(withCGLContext:forBounds:).