UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ShaderPrint.cpp File Reference

Classes

struct  ShaderPrint::FShaderPrintRequest
 
struct  ShaderPrint::FQueuedRenderItem
 
class  ShaderPrint::FEmptyBuffer
 
class  ShaderPrint::FLineIndexBuffer
 
class  ShaderPrint::FTriangleIndexBuffer
 
class  ShaderPrint::FShaderPrintUploadCS
 
class  ShaderPrint::FShaderPrintCopyCS
 
class  ShaderPrint::FShaderPrintClearCounterCS
 
class  ShaderPrint::FShaderBuildIndirectDispatchArgsCS
 
class  ShaderPrint::FShaderCompactStateBufferCS
 
class  ShaderPrint::FShaderBuildSymbolBufferCS
 
class  ShaderPrint::FShaderBuildIndirectDrawArgsCS
 
class  ShaderPrint::FShaderDrawSymbols
 
class  ShaderPrint::FShaderDrawSymbolsVS
 
class  ShaderPrint::FShaderDrawSymbolsPS
 
class  ShaderPrint::FShaderDrawDebugCopyCS
 
class  ShaderPrint::FShaderDrawDebugVS
 
class  ShaderPrint::FShaderDrawDebugPS
 
class  ShaderPrint::FShaderZoomCS
 

Namespaces

namespace  ShaderPrint
 

Functions

 ShaderPrint::IMPLEMENT_GLOBAL_SHADER_PARAMETER_STRUCT (FShaderPrintCommonParameters, "ShaderPrintData")
 
void ShaderPrint::GetParameters (FShaderPrintSetup const &InSetup, FShaderPrintCommonParameters &OutParameters)
 
void ShaderPrint::SetParameters (FRDGBuilder &GraphBuilder, const FShaderPrintData &InData, FShaderParameters &OutParameters)
 
void ShaderPrint::SetParameters (FRDGBuilder &GraphBuilder, FShaderParameters &OutParameters)
 
void ShaderPrint::SetParameters (FRDGBuilder &GraphBuilder, const FViewInfo &View, FShaderParameters &OutParameters)
 
bool ShaderPrint::IsSupported (EShaderPlatform InShaderPlatform)
 
void ShaderPrint::ModifyCompilationEnvironment (const EShaderPlatform Platform, FShaderCompilerEnvironment &OutEnvironment)
 
void ShaderPrint::ModifyCompilationEnvironment (const FGlobalShaderPermutationParameters &Parameters, FShaderCompilerEnvironment &OutEnvironment)
 
bool ShaderPrint::IsEnabled ()
 
void ShaderPrint::SetEnabled (bool bInEnabled)
 
bool ShaderPrint::IsValid (FShaderPrintData const &InShaderPrintData)
 
bool ShaderPrint::IsEnabled (FShaderPrintData const &InShaderPrintData)
 
bool ShaderPrint::IsDefaultViewValid ()
 
bool ShaderPrint::IsDefaultViewEnabled ()
 
void ShaderPrint::RequestSpaceForCharacters (uint32 InCount)
 
void ShaderPrint::RequestSpaceForLines (uint32 InCount)
 
void ShaderPrint::RequestSpaceForTriangles (uint32 InCount)
 
void ShaderPrint::SubmitShaderPrintData (FFrozenShaderPrintData &InData, FSceneInterface const *InScene)
 
void ShaderPrint::SubmitShaderPrintData (FFrozenShaderPrintData &InData)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderPrintUploadCS, "/Engine/Private/ShaderPrintDraw.usf", "UploadCS", SF_Compute)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderPrintCopyCS, "/Engine/Private/ShaderPrintDraw.usf", "CopyCS", SF_Compute)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderPrintClearCounterCS, "/Engine/Private/ShaderPrintDraw.usf", "ClearCounterCS", SF_Compute)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderBuildIndirectDispatchArgsCS, "/Engine/Private/ShaderPrintDraw.usf", "BuildIndirectDispatchArgsCS", SF_Compute)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderCompactStateBufferCS, "/Engine/Private/ShaderPrintDraw.usf", "CompactStateBufferCS", SF_Compute)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderBuildSymbolBufferCS, "/Engine/Private/ShaderPrintDraw.usf", "BuildSymbolBufferCS", SF_Compute)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderBuildIndirectDrawArgsCS, "/Engine/Private/ShaderPrintDraw.usf", "BuildIndirectDrawArgsCS", SF_Compute)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderDrawSymbolsVS, "/Engine/Private/ShaderPrintDraw.usf", "DrawSymbolsVS", SF_Vertex)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderDrawSymbolsPS, "/Engine/Private/ShaderPrintDraw.usf", "DrawSymbolsPS", SF_Pixel)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderDrawDebugCopyCS, "/Engine/Private/ShaderPrintDrawPrimitive.usf", "ShaderDrawDebugCopyCS", SF_Compute)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderDrawDebugVS, "/Engine/Private/ShaderPrintDrawPrimitive.usf", "ShaderDrawDebugVS", SF_Vertex)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderDrawDebugPS, "/Engine/Private/ShaderPrintDrawPrimitive.usf", "ShaderDrawDebugPS", SF_Pixel)
 
 ShaderPrint::IMPLEMENT_GLOBAL_SHADER (FShaderZoomCS, "/Engine/Private/ShaderPrintDraw.usf", "DrawZoomCS", SF_Compute)
 
FShaderPrintData ShaderPrint::CreateShaderPrintData (FRDGBuilder &GraphBuilder, FShaderPrintSetup const &InSetup, FSceneViewState *InViewState)
 
FShaderPrintData ShaderPrint::CreateShaderPrintData (FRDGBuilder &GraphBuilder, FShaderPrintSetup const &InSetup)
 
FFrozenShaderPrintData ShaderPrint::FreezeShaderPrintData (FRDGBuilder &GraphBuilder, FShaderPrintData &ShaderPrintData)
 
FShaderPrintData ShaderPrint::UnFreezeShaderPrintData (FRDGBuilder &GraphBuilder, FFrozenShaderPrintData &FrozenShaderPrintData)
 
void ShaderPrint::BeginView (FRDGBuilder &GraphBuilder, FViewInfo &View)
 
void ShaderPrint::BeginViews (FRDGBuilder &GraphBuilder, TArrayView< FViewInfo > Views)
 
void ShaderPrint::DrawView (FRDGBuilder &GraphBuilder, const FViewInfo &View, const FScreenPassTexture &OutputTexture, const FScreenPassTexture &DepthTexture)
 
void ShaderPrint::EndViews (TArrayView< FViewInfo > Views)
 

Variables

FBufferWithRDGShaderPrint::GEmptyBuffer = new TGlobalResource<FEmptyBuffer>()
 
TGlobalResource< FLineIndexBuffer, FRenderResource::EInitPhase::PreShaderPrint::GLineIndexBuffer
 
TGlobalResource< FTriangleIndexBuffer, FRenderResource::EInitPhase::PreShaderPrint::GTriangleIndexBuffer