FRGB8toY8ConvertPS

Pixel shader to convert RGB 8 bits to Y 8 bits

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FShader

FGlobalShader

FRGB8toY8ConvertPS

References

Module

RenderCore

Header

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

Include

#include "MediaShaders.h"

Syntax

class FRGB8toY8ConvertPS : public FGlobalShader

Remarks

Pixel shader to convert RGB 8 bits to Y 8 bits

This shader expects a single texture in PF_B8G8R8A8 format.

Constructors

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 > RGBAT...,
    const FVector4f& ColorTransform,
    bool LinearToSrgb
)

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