Skip to content

AnabasisEngine/spirv-reflect-sharp

 
 

Repository files navigation

SPIRV-Reflect Sharp

SPIRV-Reflect Sharp provides .NET bindings for SPIRV-Reflect to allow generating reflection data for shaders entirely using C#

Usage

byte[] shaderBytes = File.ReadAllBytes(@"shader.frag.spv");
using (ShaderModule module = SpirvReflect.ReflectCreateShaderModule(shaderBytes))
{
	var in_vars = module.EnumerateInputVariables();
	var intf_vars = module.EnumerateInterfaceVariables();
	var push_constants = module.EnumeratePushConstants();
}

License

This project is licensed under the MIT License

SPIRV-Reflect is licensed under the Apache License

Credits

KhronosGroup for SPIRV-Reflect

About

SPIRV-Reflect Bindings for .NET

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 34.0%
  • C++ 27.6%
  • C# 22.6%
  • HLSL 10.2%
  • GLSL 2.9%
  • Python 0.8%
  • Other 1.9%