pub struct TransformFeedbackVarying {
pub name: String,
pub offset: usize,
pub size: usize,
pub ty: AttributeType,
}Expand description
Describes a varying that is being output with transform feedback.
Fields§
§name: StringName of the variable.
offset: usizeNumber of bytes between the start of the first element and the start of this one.
size: usizeSize in bytes of this value.
ty: AttributeTypeType of the value.
Trait Implementations§
Source§impl Clone for TransformFeedbackVarying
impl Clone for TransformFeedbackVarying
Source§fn clone(&self) -> TransformFeedbackVarying
fn clone(&self) -> TransformFeedbackVarying
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 TransformFeedbackVarying
impl Debug for TransformFeedbackVarying
Source§impl PartialEq for TransformFeedbackVarying
impl PartialEq for TransformFeedbackVarying
impl Eq for TransformFeedbackVarying
impl StructuralPartialEq for TransformFeedbackVarying
Auto Trait Implementations§
impl Freeze for TransformFeedbackVarying
impl RefUnwindSafe for TransformFeedbackVarying
impl Send for TransformFeedbackVarying
impl Sync for TransformFeedbackVarying
impl Unpin for TransformFeedbackVarying
impl UnwindSafe for TransformFeedbackVarying
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