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
optionsGetCompatibleRenderTextureFormatOptionsAny options that may change the choice of render texture format, defaults to None
planeintIndex of the plane to get compatible render texture format for, defaults to the first plane
Returns
- RenderTextureFormat
A compatible render texture format