class

Godot::WorkerThreadPool

Inherits Godot::Object < Reference < Object

Godot WorkerThreadPool singleton (WorkerThreadPool).

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

singleton_ptr
Source

Instance methods

add_group_task(action : Pointer(Void), elements : Int64, tasks_needed : Int64, high_priority : Bool, description : String) : Int64
Source
add_task(action : Pointer(Void), high_priority : Bool, description : String) : Int64
Source
get_caller_group_id
Source
get_caller_task_id
Source
get_group_processed_element_count(group_id : Int64) : Int64
Source
is_group_task_completed(group_id : Int64) : Bool
Source
is_task_completed(task_id : Int64) : Bool
Source
wait_for_group_task_completion(group_id : Int64) : Void
Source
wait_for_task_completion(task_id : Int64) : Int64
Source