/Code-Red

A Graphics Interface for DirectX12 and Vulkan

Primary LanguageC++MIT LicenseMIT

CodeRed

CodeRed is a Graphics Interface supports DirectX12 and Vulkan.

  • Render anything instead of using Graphics API directly.
  • Do not need to take care of the different between DirectX12 and Vulkan.
  • And it is easier to render or change the Graphics API.

Documents

See documents folder or click me.

Installation

  • Clone or download the repository.
git clone https://github.com/LinkClinton/Code-Red.git
  • Download and install the requisite SDK.
  • Open the solution of CodeRed with Visual Studio 2019.
  • Build the source to a library(or reference the source).

Requirement

The Windows SDK you can install with Visual Studio.

Extensions

  • ImGui : An ImGui backend implement using CodeRed.
  • Compiler : A solution for solving HLSL/GLSL to DXIL/SPIRV.

Tools

  • ShaderCompiler : A tool to compile shader to binary file or cpp array.

Demos

There are some demos in Code-Red-Demo repository.