Documentation

Hesper.WebGPU.Types

WebGPU Type Definitions #

Opaque types for WebGPU resources. Resources are managed via Lean External objects with automatic cleanup by finalizers on the C++ side.

Opaque handle to a WebGPU Instance (Dawn native instance) with automatic cleanup via External finalizer

Internal opaque handle to a GPU work completion Future

GPU work completion Future that maintains a reference to its parent Instance. This ensures the Instance stays alive while waiting for GPU work to complete.

Instances For

    Internal opaque handle to the raw WebGPU Device pointer

    WebGPU Device that maintains a reference to its parent Instance. This ensures the Instance stays alive as long as the Device is in use, preventing premature garbage collection that would cause segfaults.

    Instances For

      Internal opaque handles for raw WebGPU pointers

      WebGPU Buffer that maintains a reference to its parent Device. This ensures Device (and Instance) stay alive while Buffer is in use.

      Instances For

        WebGPU Shader Module that maintains a reference to its parent Device.

        Instances For

          WebGPU Compute Pipeline that maintains a reference to its parent Device.

          Instances For

            WebGPU Bind Group that maintains a reference to its parent Device.

            Instances For

              WebGPU Bind Group Layout that maintains a reference to its parent Device.

              Instances For

                WebGPU Command Encoder that maintains a reference to its parent Device.

                Instances For

                  Buffer usage flags

                  Instances For
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For

                      Shader stage visibility

                      Instances For
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For

                          Binding type for bind group layout

                          Instances For
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For