Table of Contents

Class VideoRender

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

Helper class for everything related to setting up materials for rendering/resolving videos

public class VideoRender
Inheritance
object
VideoRender

Fields

Name Description
Keyword_AlphaPackLeftRight
Keyword_AlphaPackNone
Keyword_AlphaPackTopBottom
Keyword_ApplyGamma
Keyword_ForceEyeLeft
Keyword_ForceEyeNone
Keyword_ForceEyeRight
Keyword_LayoutEquirect180
Keyword_LayoutNone
Keyword_StereoCustomUV
Keyword_StereoDebug
Keyword_StereoLeftRight
Keyword_StereoNone
Keyword_StereoTopBottom
Keyword_StereoTwoTextures
Keyword_UseHSBC
PropAlphaPack
PropApplyGamma
PropBrightness
PropChromaTex
PropChromaTex_R
PropContrast
PropHue
PropInvGamma
PropLayout
PropMainTex_R
PropSaturation
PropStereo
PropTextureMatrix
PropVertScale
PropViewMatrix
Shader_IMGUI
Shader_Preview
Shader_Resolve
Shader_ResolveOES

Methods

Name Description
CreateIMGUIMaterial()
CreateResolveMaterial(bool)
DrawTexture(Rect, Texture, ScaleMode, AlphaPacking, float, Material)
GetResolveTextureSize(AlphaPacking, StereoPacking, StereoEye, float, Matrix4x4, ref int, ref int)
GetTexture(MediaPlayer, int)
RequiresResolve(ITextureProducer)
ResolveVideoToRenderTexture(Material, RenderTexture, ITextureProducer, ResolveFlags, ScaleMode)
SetupAlphaPackedMaterial(Material, AlphaPacking)
SetupGammaMaterial(Material, bool)
SetupGlobalDebugStereoTinting(bool)
SetupLayoutMaterial(Material, VideoMapping)
SetupMaterialForMedia(Material, MediaPlayer, int, Texture, bool)
SetupResolveMaterial(Material, VideoResolveOptions)
SetupStereoEyeModeMaterial(Material, StereoEye)
SetupStereoMaterial(Material, StereoPacking)
SetupTextureMatrix(Material, float[])
SetupTextureMatrix(Material, Matrix4x4)
SetupVerticalFlipMaterial(Material, bool)