pub struct Gather {
pub component_byte_size: u32,
pub vertex_count: u32,
pub stream_offset: u32,
pub stream_stride: u32,
pub channel_offset: u32,
pub channel_dimension: u32,
pub swap: bool,
}Expand description
The arguments of UnityPyBoost.unpack_vertexdata after Python’s
conversion to C (UnityPyBoost/Mesh.cpp:26-43): each a uint32_t, the
component size an int that the arithmetic converts to one.
Fields§
§component_byte_size: u32componentByteSize: 1, 2 or 4 from a struct code.
vertex_count: u32m_VertexCount.
stream_offset: u32m_StreamOffset.
stream_stride: u32m_StreamStride.
channel_offset: u32m_ChannelOffset.
channel_dimension: u32m_ChannelDimension: the channel’s dimension, its low four bits.
swap: boolswap: swap each component of 2 or 4 bytes.
Trait Implementations§
impl Copy for Gather
impl Eq for Gather
impl StructuralPartialEq for Gather
Auto Trait Implementations§
impl Forget for Gather
impl Freeze for Gather
impl Move for Gather
impl RefUnwindSafe for Gather
impl Send for Gather
impl Sync for Gather
impl Unpin for Gather
impl UnsafeUnpin for Gather
impl UnwindSafe for Gather
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more