JeremyAnsel.HLSL.Targets 2.0.26

dotnet add package JeremyAnsel.HLSL.Targets --version 2.0.26                
NuGet\Install-Package JeremyAnsel.HLSL.Targets -Version 2.0.26                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JeremyAnsel.HLSL.Targets" Version="2.0.26" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JeremyAnsel.HLSL.Targets --version 2.0.26                
#r "nuget: JeremyAnsel.HLSL.Targets, 2.0.26"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install JeremyAnsel.HLSL.Targets as a Cake Addin
#addin nuget:?package=JeremyAnsel.HLSL.Targets&version=2.0.26

// Install JeremyAnsel.HLSL.Targets as a Cake Tool
#tool nuget:?package=JeremyAnsel.HLSL.Targets&version=2.0.26                

JeremyAnsel.HLSL.Targets

Build status NuGet Version License

JeremyAnsel.HLSL.Targets adds MSBuild support for HLSL compilation.

Description Value
License The MIT License (MIT)
Source code https://github.com/JeremyAnsel/JeremyAnsel.HLSL.Targets
Nuget https://www.nuget.org/packages/JeremyAnsel.HLSL.Targets
Build https://ci.appveyor.com/project/JeremyAnsel/jeremyansel-hlsl-targets/branch/master

Usage

To build a hlsl shader file set the "Build Action" property to "HLSL Shader" in the "Advanced" category of the properties window. Then in the "HLSL" category set the "Shader Profile" property to a shader profile.

Shader profiles

Supported shader profiles are:

  • Compute Shader 5.0
  • Domain Shader 5.0
  • Geometry Shader 5.0
  • Hull Shader 5.0
  • Pixel Shader 5.0
  • Vertex Shader 5.0
  • Compute Shader 4.1
  • Geometry Shader 4.1
  • Pixel Shader 4.1
  • Vertex Shader 4.1
  • Compute Shader 4.0
  • Geometry Shader 4.0
  • Pixel Shader 4.0
  • Vertex Shader 4.0
  • Pixel Shader 4.0 level 9.1
  • Pixel Shader 4.0 level 9.3
  • Vertex Shader 4.0 level 9.1
  • Vertex Shader 4.0 level 9.3
  • Pixel Shader 3.0
  • Vertex Shader 3.0
  • Pixel Shader 2.0
  • Vertex Shader 2.0

Default shader code

If a shader profile is selected for an empty file then the file will be filled with a default shader code.

Output filename

On compiling the project the default output filename for a shader file is the filename of the shader file with a ".cso" extension.

Custom properties

Additional properties are:

  • "Object File Output Name" to set the object file output name
  • "Inserts Debug Information" to insert debug information into the output code
  • "Preprocessor Definitions" to set the preprocessor definitions
  • "Entry Point Name" to set the entry point name
  • "Treat Warning As Error" to treat warning as error
  • "Output Disassembly Shader" to output disassembly shader
  • "Output Disassembly Shader in HTML" to output disassembly shader in HTML
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on JeremyAnsel.HLSL.Targets:

Package Downloads
Emoji.Wpf

Emoji rendering for WPF applications

Emoji.Wpf.BBCode

Emoji rendering for WPF applications (experimental BBCode branch)

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on JeremyAnsel.HLSL.Targets:

Repository Stars
helix-toolkit/helix-toolkit
Helix Toolkit is a collection of 3D components for .NET.
tgjones/gemini
Gemini is an IDE framework similar in concept to the Visual Studio Shell. It uses AvalonDock and has an MVVM architecture based on Caliburn Micro.
samhocevar/emoji.wpf
😸 Emoji support for WPF
Version Downloads Last updated
2.0.26 1,462 9/22/2024
2.0.25 288 7/21/2024
2.0.24 115 7/21/2024
2.0.23 116 7/20/2024
2.0.22 188 6/10/2024
2.0.21 1,432 6/3/2024
2.0.20 3,647 8/19/2023
2.0.19 502 5/2/2023
2.0.18 342 3/25/2023
2.0.17 272 3/15/2023
2.0.16 1,779 5/17/2022
2.0.15 469 4/30/2022
2.0.14 438 4/30/2022
1.0.13 44,295 7/31/2021
1.0.10 14,262 5/13/2020
1.0.9 3,654 11/7/2019
1.0.8 528 11/7/2019
1.0.7 536 11/6/2019
1.0.6 547 11/5/2019
1.0.5 534 11/5/2019
1.0.3 555 11/5/2019
1.0.2 570 11/5/2019