summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.video.lua
blob: 6be1694b9d49f54e04e2d17140d9b226b51fed1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---@meta

-- version: nil
---@class love.video
love.video = {}

---
---Creates a new VideoStream. Currently only Ogg Theora video files are supported. VideoStreams can't draw videos, see love.graphics.newVideo for that.
---
---@param filename string # The file path to the Ogg Theora video file.
---@return love.VideoStream videostream # A new VideoStream.
function love.video.newVideoStream(filename) end

---
---An object which decodes, streams, and controls Videos.
---
---@class love.VideoStream: love.Object
local VideoStream = {}