Skip to content

che8u/repousse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

repousse

Metal 3

I've drawn some inspiration from the various 100-days-of-CUDA challenges. Since all I have is a baseline M1 Mac, I'm going to try my own variant where I try to use the Apple Metal API to make 50 or so projects. 'Repousse' is a technique used to make art of out of metal (example). I know, I'm very smart.

These compilation flags must be passed:

  • -fobjc-arc: to enable Automatic Reference Counting; needed to manage the memory of the underlying Obj-C objects used by Metal
  • framework Foundation: to link against Foundation framework (NS::AutoreleasePool etc.)
  • framework Metal: to link against the Metal framework

Run this command inside any dir:

clang++ -std=c++23 -o bin main.cc -fobjc-arc -framework Foundation -framework Metal

Alternatively, every dir has a makefile. Using either method will output a bin executable.

About

100 days of Metal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published