[−][src]Trait web_glitz::pipeline::graphics::attribute_format::VertexAttributeFormatCompatible
Trait implemented for types that are memory compatible with the attribute format associated with an [AttributeFormatIdentifier].
If a type implemented FormatCompatible<F>
, where F
is an [AttributeFormatIdentifier], then
that type can be used as the field type for a [Vertex] field that is marked as an attribute with
format F
.
See also [Vertex].
Unsafe
Only safe to implement for a type if the memory for any value of that type can be cast to an attribute value in the format associated with the [AttributeFormatIdentifier].