pub fn vbuf_desc_immutable(buf: &[u8], label: &str) -> BufferDesc {
    let size = std::mem::size_of::<u8>() * buf.len();
    unsafe {
        buf_desc(
            buf.as_ptr() as *const _,
            size,
            BufferType::Vertex,
            ResourceUsage::Immutable,
            label,
        )
    }
}
/// [Non-Sokol] Helper for creating immutable vertex buffer
[Non-Sokol] Helper for creating immutable vertex buffer
[ Non - Sokol ] Helper for creating immutable vertex buffer
pub fn vbuf_desc_immutable(buf: &[u8], label: &str) -> BufferDesc {
    let size = std::mem::size_of::<u8>() * buf.len();
    unsafe {
        buf_desc(
            buf.as_ptr() as *const _,
            size,
            BufferType::Vertex,
            ResourceUsage::Immutable,
            label,
        )
    }
}
pub fn vbuf_desc_immutable ( buf : & [ u8 ] , label : & str ) -> BufferDesc { let size = std :: mem :: size_of :: < u8 > ( ) * buf . len ( ) ; unsafe { buf_desc ( buf . as_ptr ( ) as * const _ , size , BufferType :: Vertex , ResourceUsage :: Immutable , label , ) } }
[Non-Sokol] Helper for creating immutable vertex buffer
[ Non - Sokol ] Helper for creating immutable vertex buffer
buf
&[u8]
label
&str
buf
&[u8]
label
&str