Skip to content

Are JSValue bitmasks possible? #220

Closed
@TeamPuzel

Description

@TeamPuzel

Hey, is it possible to use the OR operator somehow?
I can call this webgl function:

context.clear(context.COLOR_BUFFER_BIT)

however this does not work:

context.clear(context.COLOR_BUFFER_BIT | context.DEPTH_BUFFER_BIT)

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