Skip to content

Typo on WGPUColorWriteMask ? #555

Open

Description

@ygdrasil-io

WGPUColorWriteMask refers to GPUColorWrite in the WebGPU specification. Is the inclusion of "mask" in the name a typo, or is it intentional by design? Other flag types in the API do not seem to include a suffix like this.

Activity

  1. kainino0x commented on Aug 20, 2025

    @kainino0x
    Collaborator

    Hm, I think we just never noticed this was named differently. Possibly in early versions of the JS API it was called ColorWriteMask, I'm not sure.

    We are not going to do a breaking change at this point. We could alias the name, but I don't think that would be super worth the effort. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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