Docs.rs
spirv-std-macros-0.9.0
spirv-std-macros 0.9.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
LegNeato
embark-studios
Dependencies
proc-macro2 ^1.0.24
normal
quote ^1.0.8
normal
spirv-std-types =0.9.0
normal
syn ^1.0.85
normal
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
spirv_
std_
macros
0.9.0
spirv_std_macros
Attribute Macro
gpu_only
Copy item path
Source
#[gpu_only]
Expand description
Marks a function as runnable only on the GPU, and will panic on CPU platforms.