Skip to content
yul's blog
Go back

2026 November 13th

I’m learning metal-cpp & graphics. I’ve failed so many times learning it so I’d like to do it properly. I’m gonna study everyday for at least 30 mins. Hope I can be good at C++, graphics, and Metal graphics api!

What I learned for today:

Chain in Metal Program

How a frame gets drawn?

  1. Get a command buffer. This is a to-do list for the GPU.
  2. Start a render pass. This clears the screen to the clear color, which is red here.
  3. End the pass.
  4. Present. Show the result on screen.
  5. Commit. Send the to-do list to the GPU.

Share this post:

Previous Post
raster-map (1): How a Map Tile Finds Its Place on Screen
Next Post
2026 November 14th