/DirectX12Lab

My DirectX 12 playground

Primary LanguageC++

DirectX12Lab

My personal DirectX 12 Playground.

00.init

Initialize Win32 window and DirectX 12 context.

  • Window/mouse/keyboard event management
  • Multiple frames in flight

pic

01.triangle

Render a color triangle.

  • Graphics pipeline
  • Vertex/pixel shader
  • Vertex buffer

pic

02.mesh

Render a triangle mesh.

  • Constant buffer
  • Root signature DSL
  • Descriptor heap management
  • Depth stencil buffer

pic

03.texture

  • Texture2D

  • Camera

pic

04.deferred

  • Render to texture
  • Simple deferred rendering

pic

05.mipmap & msaa

  • Mipmap generation and using
  • Render target with MSAA

pic

06.imgui

  • Dear-ImGui integration

pic

07.compute

  • Gaussian Blur with compute shader

pic

08.frame graph

  • Use framegraph to impl a simple deferred renderer

pic

09.particles

  • Simple GPU-based particle system

pic