Trait luminance::buffer::UniformBlock
[−]
[src]
pub trait UniformBlock { }
Typeclass of types that can be used inside a uniform block. You have to be extra careful when using uniform blocks and ensure you respect the OpenGL std140 alignment / size rules. This will be fixed in a future release.
Implementors
impl UniformBlock for u8
impl UniformBlock for u16
impl UniformBlock for u32
impl UniformBlock for i8
impl UniformBlock for i16
impl UniformBlock for i32
impl UniformBlock for f32
impl UniformBlock for f64
impl UniformBlock for bool
impl UniformBlock for M22
impl UniformBlock for M33
impl UniformBlock for M44
impl UniformBlock for [u8; 2]
impl UniformBlock for [u16; 2]
impl UniformBlock for [u32; 2]
impl UniformBlock for [i8; 2]
impl UniformBlock for [i16; 2]
impl UniformBlock for [i32; 2]
impl UniformBlock for [f32; 2]
impl UniformBlock for [f64; 2]
impl UniformBlock for [bool; 2]
impl UniformBlock for [u8; 3]
impl UniformBlock for [u16; 3]
impl UniformBlock for [u32; 3]
impl UniformBlock for [i8; 3]
impl UniformBlock for [i16; 3]
impl UniformBlock for [i32; 3]
impl UniformBlock for [f32; 3]
impl UniformBlock for [f64; 3]
impl UniformBlock for [bool; 3]
impl UniformBlock for [u8; 4]
impl UniformBlock for [u16; 4]
impl UniformBlock for [u32; 4]
impl UniformBlock for [i8; 4]
impl UniformBlock for [i16; 4]
impl UniformBlock for [i32; 4]
impl UniformBlock for [f32; 4]
impl UniformBlock for [f64; 4]
impl UniformBlock for [bool; 4]
impl<T> UniformBlock for [T] where T: UniformBlock
impl<A, B> UniformBlock for (A, B) where A: UniformBlock, B: UniformBlock
impl<A, B, C> UniformBlock for (A, B, C) where A: UniformBlock,
B: UniformBlock,
C: UniformBlockimpl<A, B, C, D> UniformBlock for (A, B, C, D) where A: UniformBlock,
B: UniformBlock,
C: UniformBlock,
D: UniformBlockimpl<A, B, C, D, E> UniformBlock for (A, B, C, D, E) where A: UniformBlock,
B: UniformBlock,
C: UniformBlock,
D: UniformBlock,
E: UniformBlockimpl<A, B, C, D, E, F> UniformBlock for (A, B, C, D, E, F) where A: UniformBlock,
B: UniformBlock,
C: UniformBlock,
D: UniformBlock,
E: UniformBlock,
F: UniformBlockimpl<A, B, C, D, E, F, G> UniformBlock for (A, B, C, D, E, F, G) where A: UniformBlock,
B: UniformBlock,
C: UniformBlock,
D: UniformBlock,
E: UniformBlock,
F: UniformBlock,
G: UniformBlockimpl<A, B, C, D, E, F, G, H> UniformBlock for (A, B, C, D, E, F, G, H) where A: UniformBlock,
B: UniformBlock,
C: UniformBlock,
D: UniformBlock,
E: UniformBlock,
F: UniformBlock,
G: UniformBlock,
H: UniformBlockimpl<A, B, C, D, E, F, G, H, I> UniformBlock for (A, B, C, D, E, F, G, H, I) where A: UniformBlock,
B: UniformBlock,
C: UniformBlock,
D: UniformBlock,
E: UniformBlock,
F: UniformBlock,
G: UniformBlock,
H: UniformBlock,
I: UniformBlockimpl<A, B, C, D, E, F, G, H, I, J> UniformBlock for (A, B, C, D, E, F, G, H, I, J) where A: UniformBlock,
B: UniformBlock,
C: UniformBlock,
D: UniformBlock,
E: UniformBlock,
F: UniformBlock,
G: UniformBlock,
H: UniformBlock,
I: UniformBlock,
J: UniformBlock