XenoAtom.Interop.libshaderc
1.1.0-alpha.2
Prefix Reserved
dotnet add package XenoAtom.Interop.libshaderc --version 1.1.0-alpha.2
NuGet\Install-Package XenoAtom.Interop.libshaderc -Version 1.1.0-alpha.2
<PackageReference Include="XenoAtom.Interop.libshaderc" Version="1.1.0-alpha.2" />
paket add XenoAtom.Interop.libshaderc --version 1.1.0-alpha.2
#r "nuget: XenoAtom.Interop.libshaderc, 1.1.0-alpha.2"
// Install XenoAtom.Interop.libshaderc as a Cake Addin #addin nuget:?package=XenoAtom.Interop.libshaderc&version=1.1.0-alpha.2&prerelease // Install XenoAtom.Interop.libshaderc as a Cake Tool #tool nuget:?package=XenoAtom.Interop.libshaderc&version=1.1.0-alpha.2&prerelease
XenoAtom.Interop.libshaderc
This package provides a low-level and modern .NET P/Invoke wrapper around the libshaderc API.
♻️ XenoAtom.Interop
This package is part of the XenoAtom.Interop project.
libshaderc is a library for compiling GLSL/HLSL to SPIR-V. For more information, see libshaderc website.
💻 Usage
After installing the package, you can access the library through the static class XenoAtom.Interop.libshaderc
.
For more information, see the official documentation at https://github.com/google/shaderc.
📦 Compatible Native Binaries
This library does not provide C native binaries but only P/Invoke .NET bindings to libshaderc
2024.0-r0
.
If the native library is already installed on your system, check the version installed. If you are using this library on Alpine Linux, see the compatible version in the Supported API section below. Other OS might require a different setup.
For convenience, you can install an existing NuGet package (outside of XenoAtom.Interop project) that is providing native binaries. The following packages were tested and are compatible with XenoAtom.Interop.libshaderc:
NuGet Package with Native Binaries | Version |
---|---|
Silk.NET.Shaderc.Native | 2.21.0 |
📚 Supported API
This package is based on the following header version:
- libshaderc C include headers:
shaderc-dev
- Version:
2024.0-r0
- Distribution: AlpineLinux
v3.20
The following API were automatically generated from the C/C++ code:
- shaderc.h:
shaderc_assemble_into_spv
,shaderc_compile_into_preprocessed_text
,shaderc_compile_into_spv
,shaderc_compile_into_spv_assembly
,shaderc_compile_options_add_macro_definition
,shaderc_compile_options_clone
,shaderc_compile_options_initialize
,shaderc_compile_options_release
,shaderc_compile_options_set_auto_bind_uniforms
,shaderc_compile_options_set_auto_combined_image_sampler
,shaderc_compile_options_set_auto_map_locations
,shaderc_compile_options_set_binding_base
,shaderc_compile_options_set_binding_base_for_stage
,shaderc_compile_options_set_forced_version_profile
,shaderc_compile_options_set_generate_debug_info
,shaderc_compile_options_set_hlsl_16bit_types
,shaderc_compile_options_set_hlsl_functionality1
,shaderc_compile_options_set_hlsl_io_mapping
,shaderc_compile_options_set_hlsl_offsets
,shaderc_compile_options_set_hlsl_register_set_and_binding
,shaderc_compile_options_set_hlsl_register_set_and_binding_for_stage
,shaderc_compile_options_set_include_callbacks
,shaderc_compile_options_set_invert_y
,shaderc_compile_options_set_limit
,shaderc_compile_options_set_nan_clamp
,shaderc_compile_options_set_optimization_level
,shaderc_compile_options_set_preserve_bindings
,shaderc_compile_options_set_source_language
,shaderc_compile_options_set_suppress_warnings
,shaderc_compile_options_set_target_env
,shaderc_compile_options_set_target_spirv
,shaderc_compile_options_set_vulkan_rules_relaxed
,shaderc_compile_options_set_warnings_as_errors
,shaderc_compiler_initialize
,shaderc_compiler_release
,shaderc_get_spv_version
,shaderc_parse_version_profile
,shaderc_result_get_bytes
,shaderc_result_get_compilation_status
,shaderc_result_get_error_message
,shaderc_result_get_length
,shaderc_result_get_num_errors
,shaderc_result_get_num_warnings
,shaderc_result_release
🪪 License
This software is released under the BSD-2-Clause license.
🤗 Author
Alexandre Mutel aka xoofx.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on XenoAtom.Interop.libshaderc:
Package | Downloads |
---|---|
XenoAtom.ShaderCompiler
This package provides a high-level API to compile GLSL/HLSL shader files to SPIR-V binary files. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.0-alpha.2 | 42 | 7/17/2024 |
1.1.0-alpha.1 | 42 | 7/17/2024 |
1.0.0-alpha.1 | 82 | 6/8/2024 |