Trait easy_imgui_renderer::glr::AttribProvider
source · pub unsafe trait AttribProvider: Copy {
// Required method
fn apply(gl: &GlContext, a: &Attribute) -> Option<(usize, u32, usize)>;
}
Expand description
§Safety
This trait returns offsets from Self that will be used to index the raw memory of a
VertexAttribBuffer. Better implemented using the attrib!
macro.
Required Methods§
Object Safety§
This trait is not object safe.