[−][src]Trait glium::uniforms::UniformBlock
Objects that are suitable for being inside a uniform block or a SSBO.
Required methods
fn matches(
_: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
_: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
Checks whether the uniforms' layout matches the given block if Self
starts at
the given offset.
fn build_layout(base_offset: usize) -> BlockLayout
Builds the BlockLayout
corresponding to the current object.
Implementations on Foreign Types
impl UniformBlock for i32
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [i32; 2]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (i32, i32)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [i32; 3]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (i32, i32, i32)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [i32; 4]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (i32, i32, i32, i32)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for u32
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [u32; 2]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (u32, u32)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [u32; 3]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (u32, u32, u32)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [u32; 4]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (u32, u32, u32, u32)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for bool
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [bool; 2]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (bool, bool)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [bool; 3]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (bool, bool, bool)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [bool; 4]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (bool, bool, bool, bool)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for f32
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [[f32; 2]; 2]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [[f32; 3]; 3]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [[f32; 4]; 4]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (f32, f32)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (f32, f32, f32)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (f32, f32, f32, f32)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [f32; 2]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [f32; 3]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [f32; 4]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for f64
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [f64; 2]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (f64, f64)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [f64; 3]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (f64, f64, f64)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [f64; 4]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (f64, f64, f64, f64)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [[f64; 2]; 2]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [[f64; 3]; 3]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [[f64; 4]; 4]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for i64
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [i64; 2]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (i64, i64)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [i64; 3]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (i64, i64, i64)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [i64; 4]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (i64, i64, i64, i64)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for u64
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [u64; 2]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (u64, u64)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [u64; 3]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (u64, u64, u64)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for [u64; 4]
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for (u64, u64, u64, u64)
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 5] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 6] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 7] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 8] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 9] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 10] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 11] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 12] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 13] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 14] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 15] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 16] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 17] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 18] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 19] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 20] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 21] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 22] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 23] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 24] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 25] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 26] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 27] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 28] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 29] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 30] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 31] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 32] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 64] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 128] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 256] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 512] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 1024] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 2048] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<T> UniformBlock for [T; 4096] where
T: UniformBlock,
[src]
T: UniformBlock,
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
Implementors
impl UniformBlock for DrawCommandIndices
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for DrawCommandNoIndices
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl UniformBlock for ComputeCommand
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
fn build_layout(base_offset: usize) -> BlockLayout
[src]
impl<'a> UniformBlock for TextureHandle<'a>
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>