y-engine 0.1.0

A micro-engine that handles boilerplate (winit, wgpu, etc.) and adds quality-of-life features for easy application setup.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use wgpu::{Adapter, Device, Instance, Queue, Surface, SurfaceConfiguration};

/// Holds the core render objects like the device, queue, and surface.
pub struct RenderCore {
    pub instance: Instance,
    pub adapter: Adapter,
    pub device: Device,
    pub queue: Queue,
    pub surface: Surface<'static>,
    pub surface_config: SurfaceConfiguration,
}