UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ClearQuad.cpp File Reference
#include "ClearQuad.h"
#include "RenderUtils.h"
#include "Shader.h"
#include "RHIStaticStates.h"
#include "OneColorShader.h"
#include "PipelineStateCache.h"
#include "RendererInterface.h"
#include "Logging/LogMacros.h"
#include "RHIResourceUtils.h"

Functions

void DrawClearQuadAlpha (FRHICommandList &RHICmdList, float Alpha)
 
void DrawClearQuadMRT (FRHICommandList &RHICmdList, bool bClearColor, int32 NumClearColors, const FLinearColor *ClearColorArray, bool bClearDepth, float Depth, bool bClearStencil, uint32 Stencil)
 
void DrawClearQuadMRTWithUints (FRHICommandList &RHICmdList, bool bClearColor, int32 NumClearColors, const FLinearColor *ClearColorArray, bool bClearDepth, float Depth, bool bClearStencil, uint32 Stencil, uint8 NumUintOutput)
 
void DrawClearQuadMRT (FRHICommandList &RHICmdList, bool bClearColor, int32 NumClearColors, const FLinearColor *ClearColorArray, bool bClearDepth, float Depth, bool bClearStencil, uint32 Stencil, FClearQuadCallbacks ClearQuadCallbacks)
 
void DrawClearQuadMRT (FRHICommandList &RHICmdList, bool bClearColor, int32 NumClearColors, const FLinearColor *ClearColorArray, bool bClearDepth, float Depth, bool bClearStencil, uint32 Stencil, FIntPoint ViewSize, FIntRect ExcludeRect)
 

Variables

TGlobalResource< FClearVertexBufferGClearVertexBuffer
 

Function Documentation

◆ DrawClearQuadAlpha()

void DrawClearQuadAlpha ( FRHICommandList RHICmdList,
float  Alpha 
)

◆ DrawClearQuadMRT() [1/3]

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

◆ DrawClearQuadMRT() [2/3]

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

◆ DrawClearQuadMRT() [3/3]

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

◆ DrawClearQuadMRTWithUints()

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

Variable Documentation

◆ GClearVertexBuffer

TGlobalResource<FClearVertexBuffer> GClearVertexBuffer