Struct sierra_proc_demo::InstanceInfoReprStd140[][src]

#[repr(C)]pub struct InstanceInfoReprStd140 {
    pub pad_transform: [u8; 0],
    pub val_transform: <mat4 as ShaderRepr<Std140>>::Type,
    pub pad_pos: [u8; 0],
    pub val_pos: <vec3 as ShaderRepr<Std140>>::Type,
    pub pad_fits_with_no_pad: [u8; 0],
    pub val_fits_with_no_pad: <f32 as ShaderRepr<Std140>>::Type,
    pub end_pad: [u8; 0],

Structure generated to represent InstanceInfo in shader with std140 compatible layout


pad_transform: [u8; 0]val_transform: <mat4 as ShaderRepr<Std140>>::Typepad_pos: [u8; 0]val_pos: <vec3 as ShaderRepr<Std140>>::Typepad_fits_with_no_pad: [u8; 0]val_fits_with_no_pad: <f32 as ShaderRepr<Std140>>::Typeend_pad: [u8; 0]

Trait Implementations

impl Clone for InstanceInfoReprStd140[src]

impl Copy for InstanceInfoReprStd140[src]

impl Pod for InstanceInfoReprStd140[src]

impl Zeroable for InstanceInfoReprStd140[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.