MethanePowered / MethaneKit

🎲 Modern 3D graphics made simple with C++17 cross-platform framework and rendering abstraction API on top of DirectX 12, Metal & Vulkan
Apache License 2.0
846 stars 51 forks source link

Metal RHI improvement: Add support of MTLArgumentBuffer in program bindings #138

Open egorodet opened 5 months ago

egorodet commented 5 months ago

Metal RHI ProgramBindings implementation is currently using index-based per-argument binding of resources to shaders. CPU performance of the resource bindings can be improved by using argument buffers. See sample "Managing groups of resources with argument buffers".