Skip to main content

oxilean_codegen/wgsl_backend/
wgslcomputekernelparams_traits.rs

1//! # WGSLComputeKernelParams - Trait Implementations
2//!
3//! This module contains trait implementations for `WGSLComputeKernelParams`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::WGSLComputeKernelParams;
12
13impl Default for WGSLComputeKernelParams {
14    fn default() -> Self {
15        WGSLComputeKernelParams {
16            name: "main".to_string(),
17            wg_x: 64,
18            wg_y: 1,
19            wg_z: 1,
20            use_local_id: false,
21            use_workgroup_id: false,
22            use_num_workgroups: false,
23        }
24    }
25}