hat
FIBER_FRAME_TIME_FRACTION detèmine kantite maksimòm tan pou chak ankadreman ke nou pral kouri djòb fibre sou fil prensipal la. Nou mezire konbyen tan li te pran pou simulation ak rann epi miltipliye tan sa a pa FIBER_FRAME_TIME_FRACTION pou detèmine konbyen tan pou kouri fib yo. Pou egzanp, si li te pran 10 milliseconds simulation ak rann ak FIBER_FRAME_TIME_FRACTION te mete nan valè a default nan 0.33, Lè sa a, nou ta pèmèt fib yo sou fil prensipal la nan kouri pou jiska 10 * 0.33 = 3.3 milisgond. Pou fraksyon fraksyon nan 1.0 ak 2.0, tan yo bay fib yo ta dwe milunconds 10 ak milisgond 20, respektivman.
eng
FIBER_FRAME_TIME_FRACTION determines the maximum amount of time per frame that we will run fiber jobs on the primary thread. We measure how long it took to simulate and render and then multiply that time by FIBER_FRAME_TIME_FRACTION to determine how long to run the fibers. For example, if it took 10 milliseconds to simulate and render and FIBER_FRAME_TIME_FRACTION was set to the default value of 0.33, then we would allow the fibers on the primary thread to run for up to 10 * 0.33 = 3.3 milliseconds. For fraction values of 1.0 and 2.0, the time given to fibers would be 10 milliseconds and 20 milliseconds, respectively.