Renderer

public enum Renderer

Indicates the current renderer (OpenGL or Metal).

Properties

  • opengl: indicates the current SpriteKit renderer is OpenGL.
  • metal: indicates the current SpriteKit renderer is Metal.

Extensions

  • Returns the name of the current SpriteKit renderer.

    Declaration

    Swift

    public var name: String { get }