Skip to content

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 okwasniewski requested a review from bkaradzic as a code owner 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