Skip to content

Allow efficiently clearing depth and stencil buffers #18

Description

@ianmackenzie

Right now to clear the stencil or depth buffer it is necessary to do a hack like drawing a full-screen quad. It would be useful (and presumably more efficient) to have something like some special Entity values WebGL.clearDepthBuffer and WebGL.clearStencilBuffer that would end up simply calling gl.clearDepth() or gl.clearStencil() when drawn.

Activity

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