Skip to main content

skinned_attributes

Function skinned_attributes 

Source
pub fn skinned_attributes() -> [VertexAttribute; 5]
Expand description

ModelSkinLayout (32-byte vertices): i16x4 position (/512), i16x4 texcoords, unorm8x4 normal, 4 unused bytes, unorm8x4 weights, u8x4 bone indices, at shader locations 0..4.