Struct zaplib::ViewUniforms
source · [−]#[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
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ViewUniforms
impl Send for ViewUniforms
impl Sync for ViewUniforms
impl Unpin for ViewUniforms
impl UnwindSafe for ViewUniforms
Blanket Implementations
Mutably borrows from an owned value. Read more