A game framework written with osu! in mind.
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2// See the LICENCE file in the repository root for full licence text.
3
4using osu.Framework.Graphics.Textures;
5
6namespace osu.Framework.Graphics.Video
7{
8 /// <summary>
9 /// Represents a frame decoded from a video.
10 /// </summary>
11 public class DecodedFrame
12 {
13 /// <summary>
14 /// The timestamp of the frame in the video it was decoded from.
15 /// </summary>
16 public double Time { get; set; }
17
18 /// <summary>
19 /// The texture that represents the decoded frame.
20 /// </summary>
21 public Texture Texture { get; set; }
22 }
23}