FYUVConvertPS

Inheritance Hierarchy

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 ShaderMetaType::CompiledShade ...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

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 ...
)

Overridden from FShader

Name Description

Public function Virtual Const

uint32

 

GetTypeSize()

Returns the size of the concrete type of this shader.

Public function Virtual

bool

 

Serialize

(
    FArchive & Ar
)

Typedefs

Constants

Name

Description

StaticType

References

Module

UtilityShaders

Header

Runtime/UtilityShaders/Public/MediaShaders.h