![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MediaShaders.h>
Inheritance diagram for FYCbCrConvertPS:Pixel shader to convert a PS4 YCbCr texture to RGBA.
This shader expects a separate chroma and luma plane stored in two textures in PF_B8G8R8A8 format. The full-size luma plane contains the Y-components. The half-size chroma plane contains the UV components in the following memory layout: [U0, V0][U1, V1]
|
inline |
|
inline |
| void FYCbCrConvertPS::SetParameters | ( | FRHIBatchedShaderParameters & | BatchedParameters, |
| TRefCountPtr< FRHITexture > | LumaTexture, | ||
| TRefCountPtr< FRHITexture > | CbCrTexture, | ||
| const FMatrix & | ColorTransform, | ||
| const FVector & | YUVOffset, | ||
| bool | SrgbToLinear | ||
| ) |