pvllnspk
pvllnspk

Reputation: 5767

MTLRenderCommandEncoder for compute processing?

Trying to put together a puzzle:

Use case:

Upvotes: 1

Views: 68

Answers (1)

rokuz
rokuz

Reputation: 506

You can process buffers (including vertex buffers) in compute shaders. There are tons of techniques that are using it: particle systems, custom tessellation from Unity in SIGGRAPH'22, cloth simulation and many others.

In addition to compute shaders in OpenGL there is transform feedback that allows you to use part of rendering pipeline (before rasterization). However, Metal does not provide API for it.

Upvotes: 1

Related Questions