Registry / other / vulkano-shaders

vulkano-shaders

JSON →
library0.35.0rscratesunverified

Macro for generating Rust code from GLSL shaders for use with Vulkano.

# Cargo.toml [dependencies] vulkano-shaders = "0.35.0"
INSTALL
IMPORT
SIG · VULKANO-SHADERS
V
vulkano-shaders
otherrustv0.35.0
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.

shader
use vulkano_shaders::shader;

Compiles a GLSL fragment shader into Rust code.

use vulkano_shaders::shader; shader! { ty: "fragment", path: "shader.frag", }
Debug
Known issues
gotchaRequires shader files at compile time
fix
Ensure shader files are in the correct path relative to Cargo.toml
affects: >=0.35.0
Upgrade
Version history
0.35.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
vulkano-shaders — cargo add vulkano-shaders · libregistry