Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

31 lines
631 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "RHI.h"
#include "RHIResources.h"
#include "RHICommandList.h"
#include "RHIStaticStates.h"
#define UE_API PIXELCAPTURESHADERS_API
struct FRGBToYUVShaderParameters
{
FTextureRHIRef SourceTexture;
FIntPoint DestPlaneYDimensions;
FIntPoint DestPlaneUVDimensions;
FUnorderedAccessViewRHIRef DestPlaneY;
FUnorderedAccessViewRHIRef DestPlaneU;
FUnorderedAccessViewRHIRef DestPlaneV;
};
class FRGBToYUVShader
{
public:
static UE_API void Dispatch(FRHICommandListImmediate& RHICmdList, const FRGBToYUVShaderParameters& InParameters);
};
#undef UE_API