![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MediaShaders.h>
Inheritance diagram for FYUY2ConvertPS:Pixel shader to convert a YUY2 frame to RGBA.
This shader expects an YUY2 frame packed into a single texture in PF_B8G8R8A8 format with the following memory layout: [Y0, U0, Y1, V0][Y2, U1, Y3, V1]...
|
inline |
|
inline |
| void FYUY2ConvertPS::SetParameters | ( | FRHIBatchedShaderParameters & | BatchedParameters, |
| TRefCountPtr< FRHITexture > | YUY2Texture, | ||
| const FIntPoint & | OutputDimensions, | ||
| const FMatrix & | ColorTransform, | ||
| const FVector & | YUVOffset, | ||
| bool | SrgbToLinear, | ||
| MediaShaders::EToneMapMethod | ToneMapMethod = MediaShaders::EToneMapMethod::None |
||
| ) |