1
2
3
4
5
6
7
8
9
//! Trait

use crate::prelude::EntryPoint;

/// A [`Material`] type with statically-known `rust-gpu` vertex and fragment entry points.
pub trait RustGpuMaterial {
    type Vertex: EntryPoint;
    type Fragment: EntryPoint;
}