Trait gfx::pso::buffer::ToInstanceRate [] [src]

pub trait ToInstanceRate {
    type Init;
    fn get_rate(init: &Self::Init) -> InstanceRate;
}

Helper trait for VertexBufferCommon to support variable instance rate.

Associated Types

The associated init type for PSO component.

Required Methods

Get an actual instance rate value from the init.

Implementors