Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Request: Ability to capture specified frame #20

Closed
DScorgie opened this issue Mar 4, 2014 · 2 comments
Closed

Request: Ability to capture specified frame #20

DScorgie opened this issue Mar 4, 2014 · 2 comments
Labels
Feature An improvement or feature

Comments

@DScorgie
Copy link

DScorgie commented Mar 4, 2014

Hi,

One ability that would be really useful for me is to capture a specific frame within an app, rather than relying on a hitting F12. This is useful when debugging things like fixed frame timeloops.

@baldurk baldurk added this to the Release v0.19 milestone Mar 4, 2014
@baldurk
Copy link
Owner

baldurk commented Mar 4, 2014

I agree this would be useful, there's not too much detailed control over which swapchain or frame you capture at the moment.

In the meantime until I add this, have you tried triggering a capture from code? There's a snippet of C++ in the documentation you can use (under Tips & Tricks) that will trigger a frame capture starting from the next Present() on the active swapchain.

Gotchas to be aware of: 1) executing a deferred command list or 2) unmapping a resource you mapped a previous frame, will cause the frame capture to fail and the next frame will capture instead. Usually not a problem but it would be if you're aiming for a very specific frame :).

@baldurk
Copy link
Owner

baldurk commented Mar 8, 2014

I've committed this feature in e289ffbb, you can choose to queue a frame capture before even launching the program, or afterwards in the connection window. This will be in v0.19.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Feature An improvement or feature
Projects
None yet
Development

No branches or pull requests

2 participants