ファイル
ComputeSharp/src/ComputeSharp.D3D12MemoryAllocator

ComputeSharp cover image

Overview 📖

ComputeSharp.D3D12MemoryAllocator is an extension library for ComputeSharp to enable using D3D12MA as the memory allocator for graphics resources.

Quick start 🚀

You can configure the D3D12MA allocator by using the AllocationServices type at startup:

AllocationServices.ConfigureAllocatorFactory(new D3D12MemoryAllocatorFactory());

This will make ComputeSharp leverage D3D12MA for all subsequent resource allocations.

There's more!

For a complete list of all features available in ComputeSharp, check the documentation in the GitHub repo.