Table of Contents

Method GetTexture

Namespace
RenderHeads.Media.AVProVideo
Assembly
AVProVideo.Runtime.dll

GetTexture(int)

Returns the Unity texture containing the current frame image. The texture pointer will return null while the video is loading This texture usually remains the same for the duration of the video. There are cases when this texture can change, for instance: if the graphics device is recreated, a new video is loaded, or if an adaptive stream (eg HLS) is used and it switches video streams.

public override Texture GetTexture(int index = 0)

Parameters

index int

Returns

Texture