FAYUVConvertPS

Pixel shader to convert an AYUV texture to RGBA.

Windows
MacOS
Linux

Inheritance Hierarchy

FShader

FGlobalShader

FAYUVConvertPS

References

Module

RenderCore

Header

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

Include

#include "MediaShaders.h"

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