Skip to main content

Crate wgame_shader

Crate wgame_shader 

Source
Expand description

Shader utilities for bridging Rust types with GPU shaders.

Provides attribute traits, binding definitions, and shader templates for WGSL.

Macros§

binding_type

Structs§

Binding
BindingList
BindingType
BytesSink
ShaderSource

Enums§

ScalarType

Traits§

Attribute
Serialization and vertex/instance attribute bindings for a Rust type.

Derive Macros§

Attribute
Derives vertex/instance attributes using the canonical wgame_shader path.
AttributeGlobal
Derives vertex/instance attributes using the canonical wgame::shader path.