FKeyGenInfo

A little helper to generate the batch element keys based on the number of elements in the batch and the sort precision.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/GPUSortManager.h

Include

#include "GPUSortManager.h"

Syntax

struct FKeyGenInfo

Remarks

A little helper to generate the batch element keys based on the number of elements in the batch and the sort precision.

Variables

Name Description

Public variable

uint32

 

ElementKeyMask

ElementKey = (ElementIndex & EmitterKeyMask) << ElementKeyShift.

Public variable

uint32

 

ElementKeyShift

Public variable

uint32

 

SortKeyMask

Public variable

FUintVector4

 

SortKeyParams

(SortKeyMask, SortKeyShift, SortKeySignBit, -)

Constructors

Name Description

Public function

FKeyGenInfo

(
    uint32 NumElements,
    bool bHighPrecisionKeys
)