Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: add visionOS Examples #3292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

okwasniewski
Copy link
Contributor

@okwasniewski okwasniewski commented May 13, 2024

This PR follows #3289 by adding visionOS examples.

Commands

Generate example project for visionOS simulator:

genie --with-combined-examples --xcode=xros --gcc=xros-simulator xcode15

Generate example project for visionOS device:

genie --with-combined-examples --xcode=xros --gcc=xros-simulator xcode15

CleanShot 2024-07-01 at 12 23 43@2x

@okwasniewski okwasniewski force-pushed the feat/visionos-example branch 2 times, most recently from b3d6114 to 05189a8 Compare June 26, 2024 15:38
@bkaradzic
Copy link
Owner

You should submit just renderer_mtl.mm/.h changes in separate PR.

@okwasniewski
Copy link
Contributor Author

okwasniewski commented Jun 26, 2024

Will do! Once I get this to work properly on actual device I will separate the last commit to another PR

@okwasniewski okwasniewski force-pushed the feat/visionos-example branch 4 times, most recently from 16bbd2a to d0a9eeb Compare July 1, 2024 10:21
@okwasniewski okwasniewski marked this pull request as ready for review July 1, 2024 10:24
@okwasniewski
Copy link
Contributor Author

Hey @bkaradzic,

I reduced the number of files needed for visionOS integration to 3. I've tried to reduce it further but visionOS requires the entry point to be written in Swift and the rest is just the integration layer with bgfx. Let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants