pub trait ContextOffset<H, C>
where H: BindUniform<C, f32> + BindUniform<C, u32> + BindUniform<C, i32> + for<'a> BindUniform<C, &'a [f32; 4]> + for<'a> BindUniform<C, &'a [f32; 16]>,
{ // Required methods fn offset(&self) -> MemberOffset; fn context(&self) -> C; }
Expand description

A uniform member offset with context that needs to be resolved.

Required Methods§

source

fn offset(&self) -> MemberOffset

Gets the MemberOffset part of the offset.

source

fn context(&self) -> C

Gets the context part of the offset.

Implementations on Foreign Types§

source§

impl<H> ContextOffset<H, Option<()>> for MemberOffset
where H: BindUniform<Option<()>, f32> + BindUniform<Option<()>, u32> + BindUniform<Option<()>, i32> + for<'a> BindUniform<Option<()>, &'a [f32; 4]> + for<'a> BindUniform<Option<()>, &'a [f32; 16]>,

Implementors§