Skip to content

Add support for scissor and viewport settings #570

Closed

Description

@vanruesc

Description

Add support for scissor/viewport settings to Pass and RenderPipeline.

Related: #386

Tasks

  • Add scissor and viewport settings to Pass.
  • Consider also adding scissor and viewport settings to RenderPipeline.
  • Check if such settings also make sense elsewhere.
  • Add a scissor-viewport demo.

Implementation Details

Activity

  1. added this to the v7 milestone on Feb 12, 2024
  2. self-assigned this
    on Feb 18, 2024
  3. added a commit that references this issue on Dec 25, 2024
  4. vanruesc commented on Feb 9, 2025

    @vanruesc
    MemberAuthor

    @jo-chemla scissor/viewport settings have landed in v7.0.0-beta.5.

    Pass now has viewport and scissor properties and RenderPipeline can set the viewport/scissor for all passes via setViewport and setScissor. Here's an example of how to use it:

  5. drone1 commented on Feb 21, 2025

    @drone1

    amazing, tysm!

    btw, any performance concerns that you're aware of?

  6. vanruesc commented on Feb 21, 2025

    @vanruesc
    MemberAuthor

    btw, any performance concerns that you're aware of?

    None that I'm aware of 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions