UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ClearQuad.h File Reference
#include "Math/Color.h"
#include "Math/IntPoint.h"
#include "Math/IntRect.h"
#include "Math/UnrealMathSSE.h"
#include "Math/Vector4.h"
#include "RenderResource.h"
#include "Templates/Function.h"

Go to the source code of this file.

Classes

class  FClearVertexBuffer
 
struct  FClearQuadCallbacks
 

Functions

RENDERCORE_API void ClearUAV (FRHICommandList &RHICmdList, FRHIUnorderedAccessView *Buffer, uint32 NumBytes, uint32 Value, bool bBarriers=true)
 
RENDERCORE_API void DrawClearQuadAlpha (FRHICommandList &RHICmdList, float Alpha)
 
RENDERCORE_API void DrawClearQuadMRT (FRHICommandList &RHICmdList, bool bClearColor, int32 NumClearColors, const FLinearColor *ClearColorArray, bool bClearDepth, float Depth, bool bClearStencil, uint32 Stencil)
 
RENDERCORE_API void DrawClearQuadMRT (FRHICommandList &RHICmdList, bool bClearColor, int32 NumClearColors, const FLinearColor *ClearColorArray, bool bClearDepth, float Depth, bool bClearStencil, uint32 Stencil, FClearQuadCallbacks ClearQuadCallbacks)
 
RENDERCORE_API void DrawClearQuadMRT (FRHICommandList &RHICmdList, bool bClearColor, int32 NumClearColors, const FLinearColor *ClearColorArray, bool bClearDepth, float Depth, bool bClearStencil, uint32 Stencil, FIntPoint ViewSize, FIntRect ExcludeRect)
 
RENDERCORE_API void DrawClearQuadMRTWithUints (FRHICommandList &RHICmdList, bool bClearColor, int32 NumClearColors, const FLinearColor *ClearColorArray, bool bClearDepth, float Depth, bool bClearStencil, uint32 Stencil, uint8 NumUintOutput)
 
void DrawClearQuad (FRHICommandList &RHICmdList, bool bClearColor, const FLinearColor &Color, bool bClearDepth, float Depth, bool bClearStencil, uint32 Stencil)
 
void DrawClearQuad (FRHICommandList &RHICmdList, bool bClearColor, const FLinearColor &Color, bool bClearDepth, float Depth, bool bClearStencil, uint32 Stencil, FIntPoint ViewSize, FIntRect ExcludeRect)
 
void DrawClearQuad (FRHICommandList &RHICmdList, const FLinearColor &Color)
 
void DrawClearQuad (FRHICommandList &RHICmdList, const FLinearColor &Color, FClearQuadCallbacks ClearQuadCallbacks)
 

Variables

RENDERCORE_API TGlobalResource< FClearVertexBufferGClearVertexBuffer
 

Function Documentation

◆ ClearUAV()

RENDERCORE_API void ClearUAV ( FRHICommandList RHICmdList,
FRHIUnorderedAccessView Buffer,
uint32  NumBytes,
uint32  Value,
bool  bBarriers = true 
)
extern

◆ DrawClearQuad() [1/4]

void DrawClearQuad ( FRHICommandList RHICmdList,
bool  bClearColor,
const FLinearColor Color,
bool  bClearDepth,
float  Depth,
bool  bClearStencil,
uint32  Stencil 
)
inline

◆ DrawClearQuad() [2/4]

void DrawClearQuad ( FRHICommandList RHICmdList,
bool  bClearColor,
const FLinearColor Color,
bool  bClearDepth,
float  Depth,
bool  bClearStencil,
uint32  Stencil,
FIntPoint  ViewSize,
FIntRect  ExcludeRect 
)
inline

◆ DrawClearQuad() [3/4]

void DrawClearQuad ( FRHICommandList RHICmdList,
const FLinearColor Color 
)
inline

◆ DrawClearQuad() [4/4]

void DrawClearQuad ( FRHICommandList RHICmdList,
const FLinearColor Color,
FClearQuadCallbacks  ClearQuadCallbacks 
)
inline

◆ DrawClearQuadAlpha()

RENDERCORE_API void DrawClearQuadAlpha ( FRHICommandList RHICmdList,
float  Alpha 
)
extern

◆ DrawClearQuadMRT() [1/3]

RENDERCORE_API void DrawClearQuadMRT ( FRHICommandList RHICmdList,
bool  bClearColor,
int32  NumClearColors,
const FLinearColor ClearColorArray,
bool  bClearDepth,
float  Depth,
bool  bClearStencil,
uint32  Stencil 
)
extern

◆ DrawClearQuadMRT() [2/3]

RENDERCORE_API void DrawClearQuadMRT ( FRHICommandList RHICmdList,
bool  bClearColor,
int32  NumClearColors,
const FLinearColor ClearColorArray,
bool  bClearDepth,
float  Depth,
bool  bClearStencil,
uint32  Stencil,
FClearQuadCallbacks  ClearQuadCallbacks 
)
extern

◆ DrawClearQuadMRT() [3/3]

RENDERCORE_API void DrawClearQuadMRT ( FRHICommandList RHICmdList,
bool  bClearColor,
int32  NumClearColors,
const FLinearColor ClearColorArray,
bool  bClearDepth,
float  Depth,
bool  bClearStencil,
uint32  Stencil,
FIntPoint  ViewSize,
FIntRect  ExcludeRect 
)
extern

◆ DrawClearQuadMRTWithUints()

RENDERCORE_API void DrawClearQuadMRTWithUints ( FRHICommandList RHICmdList,
bool  bClearColor,
int32  NumClearColors,
const FLinearColor ClearColorArray,
bool  bClearDepth,
float  Depth,
bool  bClearStencil,
uint32  Stencil,
uint8  NumUintOutput 
)
extern

Variable Documentation

◆ GClearVertexBuffer