Navigation
API > API/Runtime > API/Runtime/Engine
Buffers in GPU memory used to sort particles.
| Name | FParticleSortBuffers |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
| Include Path | #include "GPUSortManager.h" |
Syntax
class FParticleSortBuffers : public FRenderResource
Inheritance Hierarchy
- FRenderResource → FParticleSortBuffers
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BufferSize | int32 | Size allocated for buffers. | GPUSortManager.h | |
| KeyBuffers | FBufferRHIRef | Vertex buffer storage for particle sort keys. | GPUSortManager.h | |
| KeyBufferSRVs | FShaderResourceViewRHIRef | Shader resource view for particle sort keys. | GPUSortManager.h | |
| KeyBufferUAVs | FUnorderedAccessViewRHIRef | Unordered access view for particle sort keys. | GPUSortManager.h | |
| VertexBuffers | FBufferRHIRef | Vertex buffer containing sorted particle vertices. | GPUSortManager.h | |
| VertexBufferSortSRVs | FShaderResourceViewRHIRef | Shader resource view for sorting particle vertices. | GPUSortManager.h | |
| VertexBufferSortUAVs | FUnorderedAccessViewRHIRef | Unordered access view for sorting particle vertices. | GPUSortManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHIUnorderedAccessView * GetKeyBufferUAV
(
int32 BufferIndex |
Retrieve the UAV for writing particle sort keys. | GPUSortManager.h | |
int32 GetSize() |
Get the size allocated for sorted vertex buffers. | GPUSortManager.h | |
FGPUSortBuffers GetSortBuffers() |
Retrieve buffers needed to sort on the GPU. | GPUSortManager.h | |
FRHIBuffer * GetSortedVertexBufferRHI
(
int32 BufferIndex |
Retrieve the sorted vertex buffer that results will always be located at. | GPUSortManager.h | |
void SetBufferSize
(
int32 InBufferSize |
GPUSortManager.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
Initialize RHI resources. | GPUSortManager.h | |
virtual void ReleaseRHI() |
Release RHI resources. | GPUSortManager.h |