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