easygpu 0.0.9

Simple wrapper around wgpu aiming to make some common operations easier
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::texture::Texture;

/// Z-Depth buffer.
#[derive(Debug)]
pub struct DepthBuffer {
    pub texture: Texture,
}

impl DepthBuffer {
    pub const FORMAT: wgpu::TextureFormat = wgpu::TextureFormat::Depth32Float;
}