Struct LoggingConfig::NameReductionFn

Nested Relationships

This struct is a nested type of Class LoggingConfig.

Struct Documentation

struct flamegpu::LoggingConfig::NameReductionFn

A user configured reduction to be logged

Public Functions

inline bool operator<(const NameReductionFn &other) const

Generic ordering function, to allow instances of this type to be stored in ordered collections The defined order is not important

Parameters

other – The other instance to compare vs

Returns

Returns whether this instance should come before other

Public Members

std::string name

Variable name to reduce over

Reduction reduction

The type of reduction

ReductionFn *function

Pointer to instantiated reduction function (Reduction functions are templated so much be instantiated)