Table of Contents

Method GetCompatibleRenderTextureFormat

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

GetCompatibleRenderTextureFormat(GetCompatibleRenderTextureFormatOptions, int)

Get a render texture format that is compatible with the textures internal format

RenderTextureFormat GetCompatibleRenderTextureFormat(GetCompatibleRenderTextureFormatOptions options = GetCompatibleRenderTextureFormatOptions.Default, int plane = 0)

Parameters

options GetCompatibleRenderTextureFormatOptions

Any options that may change the choice of render texture format, defaults to None

plane int

Index of the plane to get compatible render texture format for, defaults to the first plane

Returns

RenderTextureFormat

A compatible render texture format