IndirectX.HlslCodeGenerator 1.0.0

dotnet tool install --global IndirectX.HlslCodeGenerator --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local IndirectX.HlslCodeGenerator --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=IndirectX.HlslCodeGenerator&version=1.0.0
                    
nuke :add-package IndirectX.HlslCodeGenerator --version 1.0.0
                    

IndirectX.HlslCodeGenerator

DirectX managed wrapper for .NET

Installation

dotnet tool install IndirectX.HlslCodeGenerator

How to Use

Put the hlslcompile.json file as follows:

{
  "Namespace": "CSharpNamespace",
  "ClassName": "CSharpClassName",
  "Methods": [
    {
      "MethodName": "CSharpMethodName",
      "ShaderName": "InputLayout|VertexShader|PixelShader|HullShader|DomainShader|ComputeShader|GeometryShader",
      "SourceFile": "HlslSourceFile.hlsl",
      "EntryPoint": "HlslFunctionName",
      "Profile": "vs_5_0|ps_5_0|hs_5_0|ds_5_0|cs_5_0|gs_5_0"
    }
  ]
}

and run:

dotnet indxgen

Samples

See https://github.com/mino-ri/IndirectX/tree/main/Samples .

Notes

This tool uses the Windows SDK.
Please install the Windows SDK if you haven't already.
If you installed Visual Studio, it should already be installed.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.0 206 11/15/2025