Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct ufbx.ufbx_thread_pool

    Thread pool interface. See functions above for more information. Hypothetical example of calls, where UFBX_THREAD_GROUP_COUNT=2 for simplicity: run_fn(group=0, start_index=0, count=4) - t0 := threaded { ufbx_thread_pool_run_task(0..3) } run_fn(group=1, start_index=4, count=10) - t1 := threaded { ufbx_thread_pool_run_task(4..10) } wait_fn(group=0, max_index=4) - wait_threads(t0) run_fn(group=0, start_index=10, count=15) - t0 := threaded { ufbx_thread_pool_run_task(10..14) } wait_fn(group=1, max_index=10) - wait_threads(t1) wait_fn(group=0, max_index=15) - wait_threads(t0)

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: ufbxWrapper
    Assembly: ufbxWrapper.dll
    Syntax
    public struct ufbx.ufbx_thread_pool

    Fields

    free_fn

    Optional

    Declaration
    public void* free_fn
    Field Value
    Type Description
    void*

    init_fn

    Optional

    Declaration
    public void* init_fn
    Field Value
    Type Description
    void*

    run_fn

    Required

    Declaration
    public void* run_fn
    Field Value
    Type Description
    void*

    user

    Declaration
    public void* user
    Field Value
    Type Description
    void*

    wait_fn

    Required

    Declaration
    public void* wait_fn
    Field Value
    Type Description
    void*

    Properties

    free_fn_ptr

    Declaration
    public ufbx.ufbx_thread_pool_free_fn free_fn_ptr { set; }
    Property Value
    Type Description
    ufbx.ufbx_thread_pool_free_fn

    init_fn_ptr

    Declaration
    public ufbx.ufbx_thread_pool_init_fn init_fn_ptr { set; }
    Property Value
    Type Description
    ufbx.ufbx_thread_pool_init_fn

    run_fn_ptr

    Declaration
    public ufbx.ufbx_thread_pool_run_fn run_fn_ptr { set; }
    Property Value
    Type Description
    ufbx.ufbx_thread_pool_run_fn

    wait_fn_ptr

    Declaration
    public ufbx.ufbx_thread_pool_wait_fn wait_fn_ptr { set; }
    Property Value
    Type Description
    ufbx.ufbx_thread_pool_wait_fn
    In this article
    Back to top Generated by DocFX