UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ParticleSortingGPU.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*==============================================================================
4 ParticleSortingGPU.h: Interface for sorting GPU particles.
5==============================================================================*/
6
7#pragma once
8
9#include "CoreMinimal.h"
10#include "RenderResource.h"
11#include "GPUSortManager.h"
12
37
39 FRHICommandListImmediate& RHICmdList,
42 FRHITexture* PositionTextureRHI,
43 const TArray<FParticleSimulationSortInfo>& SimulationsToSort,
44 ERHIFeatureLevel::Type FeatureLevel,
45 int32 BatchId = INDEX_NONE);
46
@ INDEX_NONE
Definition CoreMiscDefines.h:150
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
int32 GenerateParticleSortKeys(FRHICommandListImmediate &RHICmdList, FRHIUnorderedAccessView *KeyBufferUAV, FRHIUnorderedAccessView *SortedVertexBufferUAV, FRHITexture *PositionTextureRHI, const TArray< FParticleSimulationSortInfo > &SimulationsToSort, ERHIFeatureLevel::Type FeatureLevel, int32 BatchId=INDEX_NONE)
Definition ParticleSortingGPU.cpp:125
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition RHICommandList.h:4626
Definition RHIResources.h:3304
Definition RHIResources.h:2153
Definition RHIResources.h:3294
Definition Array.h:670
Type
Definition RHIFeatureLevel.h:20
Definition GPUSortManager.h:172
Definition ParticleSortingGPU.h:17
FParticleSimulationSortInfo(FRHIShaderResourceView *InVertexBufferSRV, const FVector &InViewOrigin, uint32 InParticleCount, const FAllocationInfo &InAllocationInfo)
Definition ParticleSortingGPU.h:20
FVector ViewOrigin
Definition ParticleSortingGPU.h:30
FRHIShaderResourceView * VertexBufferSRV
Definition ParticleSortingGPU.h:28
FGPUSortManager::FAllocationInfo AllocationInfo
Definition ParticleSortingGPU.h:35
FGPUSortManager::FAllocationInfo FAllocationInfo
Definition ParticleSortingGPU.h:18
uint32 ParticleCount
Definition ParticleSortingGPU.h:32