Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Open Source Ios Apps | 34,087 | 2 days ago | 1 | cc0-1.0 | ||||||
:iphone: Collaborative List of Open-Source iOS Apps | ||||||||||
Prince Of Persia Apple Ii | 5,935 | a year ago | 1 | other | Assembly | |||||
A running-jumping-swordfighting game I made on the Apple II from 1985-89 | ||||||||||
Giovanni | 790 | 3 years ago | 10 | mit | Swift | |||||
A Gameboy Emulator for the Apple Watch | ||||||||||
Arshooter | 787 | 6 years ago | 2 | apache-2.0 | Swift | |||||
A demo Augmented Reality shooter made with ARKit in Swift (iOS 11) | ||||||||||
Virtualgamecontroller | 413 | 1 | 4 years ago | 3 | January 08, 2016 | 1 | other | Swift | ||
Software-based game controllers for iOS, tvOS, OS X and watchOS in Swift 4.2. | ||||||||||
Glide | 391 | a year ago | 5 | August 10, 2019 | mit | Swift | ||||
Game engine for making 2d games on iOS, macOS and tvOS, with practical examples and tutorials | ||||||||||
Mtlpp | 350 | 3 years ago | 11 | mit | Objective-C++ | |||||
C++ Metal wrapper | ||||||||||
Watch_quake | 279 | 3 months ago | 1 | gpl-2.0 | C | |||||
Quake 1 port for Apple Watch | ||||||||||
Sequential_social_dilemma_games | 262 | a year ago | 30 | mit | Python | |||||
Repo for reproduction of sequential social dilemmas | ||||||||||
Flappy Fly Bird | 242 | 7 months ago | bsd-3-clause | Swift | ||||||
🐦 Flappy Bird reincarnation [Swift 5.5, GameplayKit, SpriteKit, iOS 12]. |
Complete wrapper around Metal (Apple's low-level graphics API).
#include "mtlpp.hpp"
int main()
{
mtlpp::Device device = mtlpp::Device::CreateSystemDefaultDevice();
mtlpp::CommandQueue commandQueue = device.NewCommandQueue();
mtlpp::CommandBuffer commandBuffer = commandQueue.CommandBuffer();
mtlpp::TextureDescriptor textureDesc = mtlpp::TextureDescriptor::Texture2DDescriptor(
mtlpp::PixelFormat::RGBA8Unorm, 320, 240, false);
textureDesc.SetUsage(mtlpp::TextureUsage::RenderTarget);
mtlpp::Texture texture = device.NewTexture(textureDesc);
// ...
return 0;
}
mtlpp.hpp
and mtlpp.mm
- or use the contents of src/
folder.mtlpp uses Toll-Free Bridging. The example below demonstrates how MTKView
(MetalKit) can interop with mtlpp.
MTKView * mtkView;
// Objective-C to C++
mtlpp::Device device = ns::Handle{ (__bridge void*)mtkView.device };
// C++ to Objective-C
mtkView.device = (__bridge id<MTLDevice>)device.GetPtr();