-
Notifications
You must be signed in to change notification settings - Fork 176
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
Defining frame size #268
Comments
not really, you could in your case capture a certain amount of commands instead ? you can actually do it within the extension with the capture button at the bottom by defining the amount of commands in the input text before Since this PR you could also define your own function names to spy into https://github.com/BabylonJS/Spector.js/pull/259/files I ll close it for now but feel free to create a PR if you needed extra customization for the spied functions ? |
Yeah, I guess that works for debugging, but i kind of lost the ability to measure my fps since I made this latest change 🤔 Maybe the spying can work, though, I will give it a try. Does it work even if using wasm? |
It only works on JS. I do not think you can "ducktype" on wasm that easily |
Mmmmk :( Well, worth the shot. Thanks for the quick replies! |
Really sorry to not be of much help here :-( the only other way would be to use the npm version and create your own UI to call startCapture and stopCapture manually from within your code: https://github.com/BabylonJS/Spector.js/blob/master/readme.md#basic-usage |
That works!!! I would probably need to write a shim for calling Spector, but that isn't too bad... Do you guys have a |
Nope :-( still smthg I would need to tackle down #229 |
No worries. I'll take a look around! From experience of porting a JS project to TS, I recommend just porting it all to TS rather than try to maintain a |
I'm rendering in a very non-traditional way that is not bound by
raf
, and, instead, I just.flush()
at the end of my frame. Is there a way to define the framesize so that Spector can stop recording at that point?The text was updated successfully, but these errors were encountered: