#[repr(C)]pub struct ViewUniforms {}
Expand description
Uniforms that can be set on the View
that wraps a DrawCall
.
TODO(JP): Currently empty, but I can see this be potentially useful, so I left the code around. Might want to either make use of this directly, or expose it as something users can configure, or just remove altogether.
- This could potentially be used for adding transformations of many instances, for example translating or rotating, similarly to ThreeJSโs Group abstraction.
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for ViewUniforms
impl Clone for ViewUniforms
Sourceยงfn clone(&self) -> ViewUniforms
fn clone(&self) -> ViewUniforms
Returns a copy of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Default for ViewUniforms
impl Default for ViewUniforms
Sourceยงfn default() -> ViewUniforms
fn default() -> ViewUniforms
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl Freeze for ViewUniforms
impl RefUnwindSafe for ViewUniforms
impl Send for ViewUniforms
impl Sync for ViewUniforms
impl Unpin for ViewUniforms
impl UnwindSafe for ViewUniforms
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more