How bentobaux/directx-graphics-samples works
DirectX-Graphics-Samples is a collection of Direct3D 12 samples and reusable graphics libraries, with MiniEngine as its reusable engine starter kit. A representative user workflow is operating MiniEngine’s ModelViewer: the application uses model rendering, camera and input support, graphics resources, and rendering effects to display a scene. The graph also preserves the separately documented affinity, raytracing fallback, and residency libraries. Relationships are limited to README statements and references in the supplied SOURCE INDEX; unsampled implementation details are not asserted.
Main entry points: ModelViewer.cpp Model Viewer · CommandContext.h Command Context · LightManager.cpp Lighting · EngineProfiling.cpp CPU/GPU Profiling
Components 18
MiniEngine
- Model Viewer
MiniEngine/ModelViewer/ModelViewer.cpp - Model Rendering
MiniEngine/Model/Renderer.cpp - Camera
MiniEngine/Core/Camera.h - Input
MiniEngine/Core/GameInput.h - Command Context
MiniEngine/Core/CommandContext.h - GPU Resources
MiniEngine/Core/BufferManager.h - Pipeline State
MiniEngine/Core/PipelineState.h - Root Signatures
MiniEngine/Core/RootSignature.h - Lighting
MiniEngine/Model/LightManager.cpp - Render Effects
MiniEngine/Core/PostEffects.h - Text Rendering
MiniEngine/Core/TextRenderer.h - CPU/GPU Profiling
MiniEngine/Core/EngineProfiling.cpp - User Tuning
MiniEngine/Core/EngineTuning.cpp
Multi-GPU Affinity
- Affinity API
Libraries/D3DX12AffinityLayer/Desktop/d3dx12affinity.h - Affinity Pipeline State
Libraries/D3DX12AffinityLayer/Desktop/CD3DX12AffinityPipelineState.cpp
Raytracing Fallback
- Fallback Layer
Libraries/D3D12RaytracingFallback/src/FallbackLayer.cpp
Residency Library
- Residency Starter
Libraries/D3DX12Residency/d3dx12Residency.h
Other components
- Viewer User
Connections 20
- Viewer User → Model Viewer: operates
- Model Viewer → Model Rendering: uses
MiniEngine/ModelViewer/ModelViewer.cpp - Model Viewer → Camera: uses
MiniEngine/ModelViewer/ModelViewer.cpp - Model Viewer → Input: uses
MiniEngine/ModelViewer/ModelViewer.cpp - Model Viewer → Command Context: uses
MiniEngine/ModelViewer/ModelViewer.cpp - Model Viewer → GPU Resources: uses
MiniEngine/ModelViewer/ModelViewer.cpp - Model Viewer → Render Effects: uses
MiniEngine/ModelViewer/ModelViewer.cpp - Model Viewer → Text Rendering: uses
MiniEngine/ModelViewer/ModelViewer.cpp - Command Context → Pipeline State: references
MiniEngine/Core/CommandContext.h - Command Context → Root Signatures: references
MiniEngine/Core/CommandContext.h - GPU Resources → Command Context: references
MiniEngine/Core/BufferManager.h - Lighting → Command Context: uses
MiniEngine/Model/LightManager.cpp - Lighting → Camera: uses
MiniEngine/Model/LightManager.cpp - Lighting → GPU Resources: uses
MiniEngine/Model/LightManager.cpp - CPU/GPU Profiling → Command Context: uses
MiniEngine/Core/EngineProfiling.cpp - CPU/GPU Profiling → Text Rendering: renders with
MiniEngine/Core/EngineProfiling.cpp - CPU/GPU Profiling → Input: reads
MiniEngine/Core/EngineProfiling.cpp - User Tuning → Input: reads
MiniEngine/Core/EngineTuning.cpp - User Tuning → Text Rendering: renders with
MiniEngine/Core/EngineTuning.cpp - Affinity API → Affinity Pipeline State: declares
Libraries/D3DX12AffinityLayer/Desktop/d3dx12affinity.h