limelight 0.1.3

WebGL2 wrapper with a focus on making high-performance graphics code easier to write and maintain
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use self::{blending::BlendFunction, culling::CullingMode, depth::DepthFunction};

pub mod blending;
pub mod culling;
pub mod depth;
pub mod enable;

#[derive(Default, Clone)]
pub struct StateDescriptor {
    pub blend_func: Option<BlendFunction>,
    pub culling: Option<CullingMode>,
    pub depth_func: Option<DepthFunction>,
}