![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "RenderResource.h"#include "RHI.h"#include "RHICommandList.h"#include "RenderGraphUtils.h"Go to the source code of this file.
Namespaces | |
| namespace | UE |
| namespace | UE::RendererPrivateUtils |
| namespace | UE::RendererPrivateUtils::Implementation |
| using TPersistentByteAddressBuffer = UE::RendererPrivateUtils::Implementation::TPersistentBuffer<InValueType, UE::RendererPrivateUtils::Implementation::FByteAddressBufferTraits> |
| using TPersistentStructuredBuffer = UE::RendererPrivateUtils::Implementation::TPersistentBuffer<InValueType, UE::RendererPrivateUtils::Implementation::FStructuredBufferTraits> |
| void AddBufferLockReadbackPass | ( | FRDGBuilder & | GraphBuilder, |
| TRefCountPtr< FRDGPooledBuffer > | SourceBuffer, | ||
| uint32 | NumBytes, | ||
| ReadbackProcessingLambdaType && | ReadbackProcessingLambda | ||
| ) |
|
inline |
Clear indirect for 1D kernel launch, sets YZ grid dimensions to 1.
| void AddClearIndirectDispatchArgsPass | ( | FRDGBuilder & | GraphBuilder, |
| ERHIFeatureLevel::Type | FeatureLevel, | ||
| FRDGBufferRef | IndirectArgsRDG, | ||
| const FIntVector3 & | DimClearValue, | ||
| uint32 | NumIndirectArgs, | ||
| uint32 | IndirectArgStride | ||
| ) |
Clear indirect args for GPU-side building, initializes the XYZ dimensions of the dispatch arg to DimClearValue and everything else in the strided range to zero. Can clear one or more args (NumIndirectArgs). IndirectArgStride gives the size (in uints) of each argument, this may be larger than the required size. E.g., to make space for an atomic counter.
| FRDGBufferRef CreateAndClearIndirectDispatchArgs | ( | FRDGBuilder & | GraphBuilder, |
| ERHIFeatureLevel::Type | FeatureLevel, | ||
| const TCHAR * | Name, | ||
| const FIntVector3 & | DimClearValue, | ||
| uint32 | NumIndirectArgs, | ||
| uint32 | IndirectArgStride | ||
| ) |
Create an indirect args buffer and clear it using AddClearIndirectDispatchArgsPass.
|
inline |
Create and initialize a singular indirect args buffer with size derived from FRHIDispatchIndirectParameters.
| RENDERER_API FBufferRHIRef & GetOneTileQuadIndexBuffer | ( | ) |
One Tile Quad Index Buffer
| RENDERER_API FBufferRHIRef & GetOneTileQuadVertexBuffer | ( | ) |
One Tile Quad Vertex Buffer
| bool ShouldSkipNaniteLPIs | ( | EShaderPlatform | ShaderPlatform | ) |
Returns true if Nanite primitives are to be skipped in Light Primitive Interactions (LPI) and the primitive acceleration structure (octree).