Ray Tracing, Apple Metal, Swift Programming, Gpu Rendering, Wwdc 2020.
setup the memory for the GPU to write in, unlike our previous example, this time we need a two dimension grid. To create a texture in Metal we set a texture descriptor similar to our pipeline descriptor. We invoke the device to create a texture to the specifics of the descriptor. Encoding the