Skip to content

Document that ProcessEvents is only needed for AllowProcessEvents callbacks #498

@kainino0x

Description

@kainino0x

We should explain in docs for wgpuInstanceProcessEvents that it is only needed for AllowProcessEvents callbacks (that aren't waited), or in other words, you don't need it if every future either is waited or has AllowSpontaneous.

(Which led me to another question: is it fine if my app never calls wgpuInstanceProcessEvents or wgpuDeviceTick? If it is not, when should they be called?)

Originally posted by @zcbenz in #491 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions