FYUVConvertPS

Pixel shader to convert Y, U, and V planes to RGBA.

Windows
MacOS
Linux

Inheritance Hierarchy

FShader

FGlobalShader

FYUVConvertPS

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/MediaShaders.h

Include

#include "MediaShaders.h"

Syntax

class FYUVConvertPS : public FGlobalShader

Remarks

Pixel shader to convert Y, U, and V planes to RGBA.

This shader expects three textures in PF_G8 format, one for each plane of Y, U, and V components.

Constructors

Name Description

Public function

FYUVConvertPS()

Public function

FYUVConvertPS

(
    const ShaderMetaType::CompiledShade...
)

Functions

Name Description

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const typename FShader::CompiledSha...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function Const

RENDERCORE_A...

 

GetTypeLayout()

Public function Static

void

 

ModifyCompilationEnvironmentImpl

(
    const FShaderPermutationParameters ...,
    FShaderCompilerEnvironment& OutEnv...
)

Public function

void

 

SetParameters

(
    FRHICommandList& RHICmdList,
    TRefCountPtr< FRHITexture2D > YText...,
    TRefCountPtr< FRHITexture2D > UText...,
    TRefCountPtr< FRHITexture2D > VText...,
    const FIntPoint& OutputDimensions,
    const FMatrix& ColorTransform,
    const FVector& YUVOffset,
    bool SrgbToLinear
)

Public function Static

bool

 

ShouldCompilePermutation

(
    const FGlobalShaderPermutationParam...
)

Public function Static

bool

 

ShouldCompilePermutationImpl

(
    const FShaderPermutationParameters ...
)

Public function Static

RENDERCORE_A...

 

StaticGetTypeLayout()

Classes

Name

Description

Public struct

InternalLinkType

Typedefs

Constants

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss