VideoFrameCpu struct
A snapshot of a sender's CPU frame: its views and textures, in layout order. The pixel memory stays the sender's.
Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll
public readonly struct VideoFrameCpu
Remarks
A render sender's frame exists from creation, so it can be read before the first
RenderSender.BeginFrame to size resources; its contents may be written only
between a successful begin-frame and RenderSender.ShowFrame. A
PrimarylessVideoSender hands it out during the send cycle
PrimarylessVideoSender.TryBeginFrame reserved.
Constructors
VideoFrameCpu(VideoFrameView[], VideoTextureCpu[])
public VideoFrameCpu(VideoFrameView[] textureViews, VideoTextureCpu[] textures)
Parameters
| Name | Type | Description |
|---|---|---|
textureViews | VideoFrameView[] | |
textures | VideoTextureCpu[] |
Properties
TextureViews
The views in layout order; each view's texture index names its texture.
public VideoFrameView[] TextureViews { get; }
Value: VideoFrameView[]
Textures
public VideoTextureCpu[] Textures { get; }
Value: VideoTextureCpu[]