termgpu 0.1.0

A GPU-accelerated terminal graphics engine for Rust, enabling real-time 3D rendering in the terminal.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use bytemuck::{Zeroable, Pod};

pub mod buffer;
pub mod macros;
pub mod pipeline;
pub mod resource;
pub mod shader;
pub mod texture;

/// A structure used for padding to align data to specific byte 
/// boundaries for convenience and safety in GPU memory operations.
#[repr(C)]
#[derive(Default, Debug, Clone, PartialEq, Copy, Zeroable, Pod)]
pub struct Padding {
    _padding: u32,
}