Documentation

Hesper.WGSL.Types

WGSL type system using phantom types for type safety. These types are used at the Lean level to ensure type correctness, but compile down to WGSL primitive types.

WGSL scalar types

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

      Memory address spaces in WGSL

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

          WGSL composite types

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

                Struct field definition

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

                      Struct definition

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

                            Buffer usage flags (corresponds to WebGPU buffer usage)

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

                                Layout rules for struct alignment

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

                                    Binding layout information for type-safe pipeline creation

                                    Instances For

                                      Shader layout - collection of bindings with type information

                                      Instances For

                                        Calculate alignment of a type according to layout rules

                                        Equations
                                        Instances For