Metal Programming Guide: Tutorial and Reference via Swift

· Addison-Wesley Professional
Ebook
352
Pages
Tools
Eligible

About this ebook

Master Metal: The Next-Generation Graphics and GPU Programming Platform for Apple Developers

Metal enables Apple developers to maximize performance in demanding tasks like 3D graphics, games, scientific programming, visualization, and GPU-accelerated machine learning. Metal® Programming Guide is the authoritative, practical guide to Metal for all iOS programmers who are interested in graphics programming but don’t know where to start.

Pioneering Apple developer Janie Clayton covers everything from basic draw calls to advanced parallel computing, combining easy-to-understand conceptual explanations with well-tested Swift 4/Xcode 9 sample code (available for download at GitHub).

Clayton introduces the essential Metal, graphics, and math concepts every graphics programmer needs to know. She also discusses key graphics-specific libraries, concepts, and Metal Classes, presenting techniques and examples you’ll find valuable for both graphics and data processing. Clayton also provides coverage of the Metal Compute Pipeline, demonstrating practical GPU programming applications ranging from image processing to neural networking.

  • Quickly get a basic Metal project running
  • Work with Metal resources and memory management
  • Learn how shaders are compiled and accessed by the CPU
  • Program both 2D and 3D graphics with Metal
  • Import 3D models and assets from Blender, Maya, and other programs
  • Apply imported textures to model objects
  • Use multipass rendering to efficiently implement computationally expensive techniques
  • Leverage tessellation to reduce mesh detail
  • Use the GPU for a wide spectrum of general-purpose computing applications
  • Get started with the Metal Performance Shaders Framework


Discover more

About the author

Janie Clayton is an independent iOS developer and graphics programmer. Janie is the author on several books on iOS and Swift development, including the Swift Apprentice and iOS 10 SDK. She records her journey down the rabbit hole on her personal blog at http://redqueencoder.com. Janie lives outside of Madison, Wisconsin, with her attempted grumble of pugs and multitude of programming books.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.