FKeyGenInfo

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

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
)

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