Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthurschiller/realitykit-drawable-queue
A sample project demonstrating a usecase for the DrawableQueue API in RealityKit 2.
https://github.com/arthurschiller/realitykit-drawable-queue
Last synced: 2 months ago
JSON representation
A sample project demonstrating a usecase for the DrawableQueue API in RealityKit 2.
- Host: GitHub
- URL: https://github.com/arthurschiller/realitykit-drawable-queue
- Owner: arthurschiller
- License: mit
- Created: 2021-08-12T10:03:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-14T20:20:44.000Z (about 2 years ago)
- Last Synced: 2024-08-02T01:21:29.747Z (6 months ago)
- Language: Swift
- Size: 19.9 MB
- Stars: 44
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-RealityKit - RealityKit 2 DrawableQueue - A sample project demonstrating a usecase for the DrawableQueue API in RealityKit 2 (Projects / Community)
README
# RealityKit 2 DrawableQueue: Animated (transparent) GIFs
A sample project demonstrating a usecase for the [DrawableQueue](https://developer.apple.com/documentation/realitykit/textureresource/drawablequeue) API in RealityKit 2 – which currently lacks Documentation – by implementing support for animated (transparent) GIFs.
> **Disclaimer:** While this implementation certainly performs rather well there are probably a lot of optimizations that could be made
> here. Currently a MTLTexture is being created for every frame of a gif
> which might not be the best way to do this – I'm still learning and do
> not have an in-depth knowledge of Metal.*Proper code commenting and maybe a tutorial will follow. *
## Requirements:
Xcode 13 Beta 5 and a device running iOS 15## Preview:
![Preview](./preview.gif)