Crate bevy_rust_gpu
source ·Expand description
bevy-rust-gpu
A set of bevy plugins supporting the use of rust-gpu shaders.
Features include hot-reloading, metadata-based entry point validation, and active entry point export.
Can be used in conjunction with rust-gpu-builder and permutate-macro
to drive a real-time shader recompilation pipeline.
Modules
bevy-pbr-rust-backedRustGpuMaterialimplementation forStandardMaterial.- Adds support for exporting the active entry point set to a
.jsonfile.
Structs
- Extends a
Materialwithrust-gpushader support. - Compile output from
rust-gpu-builder, includes SPIR-V binary modules and entry point metadata. RustGpupipeline key.- Configures backend [
Material2d] support forRustGpu<M>. - Configures backend [
Material] support forRustGpu<M>. - Main Rust-GPU plugin.
- Type-level RustGpu material settings
Enums
- Module binary data container.
Traits
- A
rust-gpuentry point for use withRustGpuMaterial. - A [
Material] type with statically-knownrust-gpuvertex and fragment entry points.
Functions
RustGpuBuilderOutputasset event handler.
Type Definitions
- A set of entry point constants for use with the
EntryPointtrait. - An entry point name for use with the
EntryPointtrait. - A set of entry point compile parameters for use with the
EntryPointtrait. - A set of entry point constants for use with the
EntryPointtrait.