FValueBuffer

A vertex buffer owning the final sorted values.

Windows
MacOS
Linux

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

Name Description

Public variable

int32

 

AllocatedCount

The actual buffer size.

Public variable

FShaderResource...

 

G16R16SRV

EGPUSortFlags::IndicesAsG16R16F

Public variable

FUnorderedAcces...

 

G16R16UAV

Public variable

FShaderResource...

 

Int32SRV

EGPUSortFlags::IndicesAsInt32

Public variable

FUnorderedAcces...

 

Int32UAV

Public variable

FShaderResource...

 

UInt32SRV

Used for sorting

Public variable

FUnorderedAcces...

 

UInt32UAV

Public variable

int32

 

UsedCount

The currently used size.

Constructors

Name Description

Public function

FValueBuffer

(
    int32 InAllocatedCount,
    int32 InUsedCount,
    const FSettings& InSettings
)

Create a value buffer of a given size. The render resource are created immediately.

Destructors

Name Description

Public function

~FValueBuffer()

Functions

Name Description

Public function

void

 

Allocate

(
    FAllocationInfo& OutInfo,
    int32 ValueCount,
    EGPUSortFlags Flags
)

Allocate some space into the buffer. The buffer needs to be big enough to hold the allocation.

Public function

void

 

ReleaseRHI()

Release the render resources.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss