libER 0.1.4.2
ELDEN RING API library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
from::FD4::FD4TaskData Struct Reference

The data passed to tasks on execution. More...

#include <fd4_task.hpp>

Public Member Functions

float get_dt () const noexcept
 Get the delta time.
 
CS::CSTaskGroup get_task_group () const noexcept
 Get the task group.
 
int get_seed () const noexcept
 Get the seed.
 

Detailed Description

The data passed to tasks on execution.

Contains delta/frametime, the task group id and the taskrunner number (seed).

Member Function Documentation

◆ get_dt()

float from::FD4::FD4TaskData::get_dt ( ) const
inlinenoexcept

Get the delta time.

Returns
float

◆ get_seed()

int from::FD4::FD4TaskData::get_seed ( ) const
inlinenoexcept

Get the seed.

The seed is the same as the index of the task runner thread that executed it. As of ER 1.10.1, there are 6 task runners, so the value is between 0 and 5.

Returns
int

◆ get_task_group()

CS::CSTaskGroup from::FD4::FD4TaskData::get_task_group ( ) const
inlinenoexcept

Get the task group.

Returns
CS::CSTaskGroup

The documentation for this struct was generated from the following file: