
PROJECT OVERVIEW
Donatello is a personal desktop application being developed for polygonal modelling and 3D content creation. Its current prototype establishes the application foundation: a WPF interface, a native graphics backend and a resizable viewport rendering its first geometry through DirectX 12.
I am building Donatello independently using C++20 and C# with WPF and .NET 9. The project extends my graphics programming experience into desktop tool development, with particular attention to communication between languages, resource ownership and maintainable software architecture.
The implementation connects managed application code to native GPU rendering through a small exported API. My work covers DirectX 12 initialization, shader compilation, graphics pipelines, command recording and synchronization, alongside the lifetime management required to host these systems inside a WPF application.
• The Project
• Development
• Technical Focus
IMPLEMENTATION
DX12 Rendering
-
Hardware adapter selection and device initialization.
-
HLSL vertex and pixel shaders, pipeline state and root signature.
-
Vertex buffers, draw commands and resource transitions.
-
Swap-chain resizing and fence-based GPU synchronization.
Architecture & GPU
-
Separate classes for shader compilation, graphics pipelines and GPU buffers.
-
Frame coordination separated from geometry and pipeline setup.
-
RAII and COM smart pointers with explicit resource ownership.
-
GPU completion waits before resource release.
C# / WPF Integration
-
Native viewport embedded through HwndHost.
-
Exported C++ functions called through P/Invoke.
-
Opaque native context managed through SafeHandle.
-
HRESULT error reporting and adapter information exposed to C#.
HIGHLIGHTS












