-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.flutter-gputeam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
The viewport determines the region and depth range of the framebuffer that the RenderPass draws to.
Allow the user to set the viewport on the RenderPass by passing in a Viewport class containing a floating point region rectangle and a floating point DepthRange (defaulting to zNear=0 and zFar=1).
Similar to the scissor, there is no need to add functionality to "disable" the viewport. By default, the viewport's region is set to the render target texture size and the viewport's depth range is set to zNear=0 and zFar=1. So if the user wants to "disable" the viewport, they should simply call setViewport again and set it back to the default values.
kekland and josxha
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.flutter-gputeam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Type
Projects
Status
✅ Done