return {
  tag = 'graphicsPrimitives',
  summary = 'Render a skybox.',
  description = [[
    Render a skybox from a texture.  Two common kinds of skybox textures are supported: A rectangular
    texture with an equirectangular projection can be used, or a "cubemap" texture created from 6
    images.
  ]],
  arguments = {
    {
      name = 'texture',
      type = 'Texture',
      description = 'The texture to use.'
    },
    {
      name = 'angle',
      type = 'number',
      default = '0',
      description = 'How much to rotate the skybox around its axis of rotation.'
    },
    {
      name = 'ax',
      type = 'number',
      default = '0',
      description = 'The x coordinate of the axis of rotation.'
    },
    {
      name = 'ay',
      type = 'number',
      default = '1',
      description = 'The y coordinate of the axis of rotation.'
    },
    {
      name = 'az',
      type = 'number',
      default = '0',
      description = 'The z coordinate of the axis of rotation.'
    }
  },
  returns = {},
  example = [[
    function lovr.load()
      skybox = lovr.graphics.newTexture(
        'right.png',
        'left.png',
        'up.png',
        'down.png',
        'back.png',
        'front.png'
      )

      -- or skybox = lovr.graphics.newTexture('equirectangular.png')
    end

    function lovr.draw()
      local angle, ax, ay, az = lovr.headset.getOrientation()
      lovr.graphics.skybox(skybox, -angle, ax, ay, az)
    end
  ]]
}
