Skip to main content
Version: 0.9.0

VideoFrameOpenGl struct

A snapshot of a sender's OpenGL frame: its views and textures. The textures stay the sender's; render into them only inside a frame cycle. A render sender's frame is readable from creation, before the first begin-frame.

Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: QarTypes.cs

public readonly struct VideoFrameOpenGl

Constructors​

VideoFrameOpenGl(VideoFrameView[], VideoTextureOpenGl[])​

public VideoFrameOpenGl(VideoFrameView[] textureViews, VideoTextureOpenGl[] textures)

Parameters

NameTypeDescription
textureViewsVideoFrameView[]
texturesVideoTextureOpenGl[]

Properties​

TextureViews​

public VideoFrameView[] TextureViews { get; }

Value: VideoFrameView[]

Textures​

public VideoTextureOpenGl[] Textures { get; }

Value: VideoTextureOpenGl[]