Registry / other / spirv-reflect

spirv-reflect

JSON →
library0.2.3rscratesunverified

Reflection API in Rust for SPIR-V shader byte code, intended for Vulkan applications.

# Cargo.toml [dependencies] spirv-reflect = "0.2.3"
INSTALL
IMPORT
SIG · SPIRV-REFLECT
S
spirv-reflect
otherrustv0.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ShaderModule
✓ use spirv_reflect::ShaderModule;

Load a SPIR-V shader module and reflect its interface.

use spirv_reflect::ShaderModule; fn main() { let spirv_data = include_bytes!("shader.spv"); let module = ShaderModule::new(spirv_data).unwrap(); println!("Module loaded: {:?}", module); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
spirv-reflect — cargo add spirv-reflect · libregistry