[][src]Trait amethyst_rendy::pod::IntoPod

pub trait IntoPod<T> {
    fn into_pod(self) -> T;
}

Trait for auto conversion into standard GLSL POD types.

Required methods

fn into_pod(self) -> T

Converts Self to the supplied T GLSL type.

Loading content...

Implementations on Foreign Types

impl IntoPod<vec2> for Vector2<f32>[src]

impl IntoPod<vec3> for Vector3<f32>[src]

Loading content...

Implementors

impl IntoPod<[f32; 3]> for Srgb[src]

impl IntoPod<[f32; 4]> for Srgba[src]

impl IntoPod<vec3> for Srgb[src]

impl IntoPod<vec4> for Srgba[src]

Loading content...