Trait ugli::VertexAttribute

source ·
pub trait VertexAttribute {
    type Primitive: VertexAttributePrimitive;

    // Required method
    fn primitive_offset() -> usize;
}

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl VertexAttribute for Rgba<f32>

source§

impl VertexAttribute for mat3<f32>

source§

impl VertexAttribute for mat4<f32>

source§

impl VertexAttribute for vec2<f32>

source§

impl VertexAttribute for vec3<f32>

source§

impl VertexAttribute for vec4<f32>

Implementors§