Struct sierra_proc_demo::InstanceInfoReprStd430[][src]

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

Structure generated to represent InstanceInfo in shader with std430 compatible layout

Fields

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

Trait Implementations

impl Clone for InstanceInfoReprStd430[src]

impl Copy for InstanceInfoReprStd430[src]

impl Pod for InstanceInfoReprStd430[src]

impl Zeroable for InstanceInfoReprStd430[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.