wesl
    Preparing search index...

    Interface PartialScope

    A synthetic partial scope to contain

    conditioned idents. PartialScope idents are considered to be in the wgsl lexical scope of their parent.

    interface PartialScope {
        contents: (Scope | Ident)[];
        id: number;
        ifAttribute?: IfAttribute;
        kind: "partial";
        parent: null | Scope;
    }

    Hierarchy

    • ScopeBase
      • PartialScope
    Index

    Properties

    contents: (Scope | Ident)[]
    id: number

    id for debugging

    ifAttribute?: IfAttribute

    condition for conditionally translating this scope

    kind: "partial"
    parent: null | Scope

    null for root scope in a module