Gizmo Implementation #1533
Answered
by
robertosfield
xiaoxin0214
asked this question in
Q&A
-
I am trying to implement a translation editor, and the current visual effect looks like this: default.mp4To ensure that the coordinate axes are always rendered on top of other nodes, I've used vsg::Layer.
How can I properly update the VkClearAttachment extent when the window is resized? Currently, the extent is set based on the initial window dimensions. |
Beta Was this translation helpful? Give feedback.
Answered by
robertosfield
Jul 21, 2025
Replies: 1 comment 2 replies
-
vsglayers exampl uses vsg::ClearAttachments to achieve the effect you are after: vsglayers models/teapot.vsgt ![]() |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The vsg::WindowResizeHandler has a void WindowResizeHandler::apply(ClearAttachments& clearAttachments) implementation for resizing the clear attachments.