hexga_wgpu 0.0.11-beta.53

wgpu wrapped for hexga
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::*;
use hexga::image::ImageBaseOf;

#[repr(transparent)]
#[derive(Debug, Clone)]
pub struct GpuBindGroup
{
    pub wgpu: wgpu::BindGroup,
}
impl From<wgpu::BindGroup> for GpuBindGroup
{
    fn from(wgpu: wgpu::BindGroup) -> Self { Self { wgpu } }
}
impl From<GpuBindGroup> for wgpu::BindGroup
{
    fn from(value: GpuBindGroup) -> Self { value.wgpu }
}