#[repr(C)]pub struct VertexVarsUniform {}Expand description
Per-vertex variables uniform buffer
Fields§
§time: f32Time in seconds
frame: f32Frame number
fps: f32Frames per second
bass: f32Bass level (0.0-1.0)
mid: f32Mid level (0.0-1.0)
treb: f32Treble level (0.0-1.0)
bass_att: f32Bass attenuated
mid_att: f32Mid attenuated
treb_att: f32Treble attenuated
_padding1: f32Padding for alignment
_padding2: f32§_padding3: f32§q: [[f32; 4]; 16]Custom variables q1-q64 (as 16 vec4s for GPU alignment)
Trait Implementations§
Source§impl Clone for VertexVarsUniform
impl Clone for VertexVarsUniform
Source§fn clone(&self) -> VertexVarsUniform
fn clone(&self) -> VertexVarsUniform
Returns a duplicate 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 Debug for VertexVarsUniform
impl Debug for VertexVarsUniform
Source§impl Default for VertexVarsUniform
impl Default for VertexVarsUniform
impl Copy for VertexVarsUniform
impl Pod for VertexVarsUniform
Auto Trait Implementations§
impl Freeze for VertexVarsUniform
impl RefUnwindSafe for VertexVarsUniform
impl Send for VertexVarsUniform
impl Sync for VertexVarsUniform
impl Unpin for VertexVarsUniform
impl UnwindSafe for VertexVarsUniform
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().