FAYUVConvertPS

Inheritance Hierarchy

Syntax

class FAYUVConvertPS : public FGlobalShader

Remarks

Pixel shader to convert an AYUV texture to RGBA.

This shader expects a single texture consisting of a N x M array of pixels in AYUV format. Each pixel is encoded as four consecutive unsigned chars with the following layout: [V0 U0 Y0 A0][V1 U1 Y1 A1]..

Constructors

Name Description

Public function

FAYUVConvertPS()

Public function

FAYUVConvertPS

(
    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 > AYUVT...,
    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