1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pub use shader_ext::*;

#[macro_use]
pub mod uniform;

#[macro_export]
macro_rules! SHADER {
	($n: ident, $($body: expr),+) => {
		#[allow(non_upper_case_globals)]
		pub const $n: $crate::GL::macro_uses::InlineShader = $crate::GL::macro_uses::InlineShader(stringify!($n), const_format::concatcp!($($body,)+));
	};
}

pub struct InlineShader(pub STR, pub STR);

type I = InlineShader;

mod args;
mod compiler;
mod object;
mod parsing;
mod shader_ext;

use crate::{lazy::*, lib::*, slicing::*, sync::*, GL::window::*};
use {super::internal::*, std::ffi::CString};