Skip to main content

WGSL_VERSION

Constant WGSL_VERSION 

Source
pub const WGSL_VERSION: u32 = 6;
Expand description

Catalog version. Bumped on any breaking change to a helper signature, struct field, or binding number. Plugins should assert against this at build time:

const _: () = assert!(viewport_lib::plugin_api::shared_wgsl::WGSL_VERSION == 1);