Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FGPUSortManager
Inheritance Hierarchy
- FRenderResource
- FVertexBuffer
- FGPUSortManager::FValueBuffer
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
Include | #include "GPUSortManager.h" |
Syntax
class FValueBuffer : public FVertexBuffer
Remarks
A vertex buffer owning the final sorted values.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | AllocatedCount | The actual buffer size. |
![]() |
FShaderResourceViewRHIRef | G16R16SRV | EGPUSortFlags::IndicesAsG16R16F |
![]() |
FUnorderedAccessViewRHIRef | G16R16UAV | |
![]() |
FShaderResourceViewRHIRef | Int32SRV | EGPUSortFlags::IndicesAsInt32 |
![]() |
FUnorderedAccessViewRHIRef | Int32UAV | |
![]() |
FShaderResourceViewRHIRef | UInt32SRV | Used for sorting |
![]() |
FUnorderedAccessViewRHIRef | UInt32UAV | |
![]() |
int32 | UsedCount | The currently used size. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FValueBuffer
(
FRHICommandListBase& RHICmdList, |
Create a value buffer of a given size. The render resource are created immediately. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Allocate
(
FAllocationInfo& OutInfo, |
Allocate some space into the buffer. The buffer needs to be big enough to hold the allocation. |
![]() |
void | ReleaseRHI () |
Release the render resources. |