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
-backedRustGpuMaterial
implementation forStandardMaterial
.- Adds support for exporting the active entry point set to a
.json
file.
Structs
- Extends a
Material
withrust-gpu
shader support. - Compile output from
rust-gpu-builder
, includes SPIR-V binary modules and entry point metadata. RustGpu
pipeline 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-gpu
entry point for use withRustGpuMaterial
. - A [
Material
] type with statically-knownrust-gpu
vertex and fragment entry points.
Functions
RustGpuBuilderOutput
asset event handler.
Type Definitions
- A set of entry point constants for use with the
EntryPoint
trait. - An entry point name for use with the
EntryPoint
trait. - A set of entry point compile parameters for use with the
EntryPoint
trait. - A set of entry point constants for use with the
EntryPoint
trait.