UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Distributions.cpp File Reference

Macros

#define LOOKUP_TABLE_ERROR_THRESHOLD   (0.05f)
 
#define LOOKUP_TABLE_MAX_SAMPLES   (128)
 
#define DISTRIBUTIONS_BAKES_OUT   1
 

Functions

 DEFINE_LOG_CATEGORY_STATIC (LogDistributions, Warning, Warning)
 
template<typename DistributionType >
void BuildLookupTable (FDistributionLookupTable *OutTable, const DistributionType &Distribution)
 

Variables

ENGINE_API uint32 GDistributionType = 1
 

Macro Definition Documentation

◆ DISTRIBUTIONS_BAKES_OUT

#define DISTRIBUTIONS_BAKES_OUT   1

◆ LOOKUP_TABLE_ERROR_THRESHOLD

#define LOOKUP_TABLE_ERROR_THRESHOLD   (0.05f)

◆ LOOKUP_TABLE_MAX_SAMPLES

#define LOOKUP_TABLE_MAX_SAMPLES   (128)

Function Documentation

◆ BuildLookupTable()

void BuildLookupTable ( FDistributionLookupTable OutTable,
const DistributionType Distribution 
)

Builds a lookup table from a distribution.

Parameters
OutTable- The table to build.
Distribution- The distribution for which to build a lookup table.

◆ DEFINE_LOG_CATEGORY_STATIC()

DEFINE_LOG_CATEGORY_STATIC ( LogDistributions  ,
Warning  ,
Warning   
)

Variable Documentation

◆ GDistributionType

ENGINE_API uint32 GDistributionType = 1