pub struct hkxIndexBuffer {
pub __ptr: Option<Pointer>,
pub parent: hkReferencedObject,
pub m_indexType: IndexType,
pub m_indices16: Vec<u16>,
pub m_indices32: Vec<u32>,
pub m_vertexBaseOffset: u32,
pub m_length: u32,
}
Expand description
§C++ Info
- name:
hkxIndexBuffer
- version:
1
- signature:
0xc12c8197
- size:
44
(x86)/64
(x86_64) - vtable:
true
Fields§
§__ptr: Option<Pointer>
§Unique index for this class
- Represents a pointer on XML (
<hkobject name="#0001"></hkobject>
) Option::None
=> This class isclass in field
.(<hkobject></hkobject>
)
§Note
Not present in the binary & Not exist actual C++ field.
parent: hkReferencedObject
Alternative to C++ class inheritance.
m_indexType: IndexType
§C++ Info
- name:
indexType
(ctype:enum IndexType
) - offset:
8
(x86)/16
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_indices16: Vec<u16>
§C++ Info
- name:
indices16
(ctype:hkArray<hkUint16>
) - offset:
12
(x86)/24
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_indices32: Vec<u32>
§C++ Info
- name:
indices32
(ctype:hkArray<hkUint32>
) - offset:
24
(x86)/40
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_vertexBaseOffset: u32
§C++ Info
- name:
vertexBaseOffset
(ctype:hkUint32
) - offset:
36
(x86)/56
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_length: u32
§C++ Info
- name:
length
(ctype:hkUint32
) - offset:
40
(x86)/60
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl Clone for hkxIndexBuffer
impl Clone for hkxIndexBuffer
Source§impl Debug for hkxIndexBuffer
impl Debug for hkxIndexBuffer
Source§impl Default for hkxIndexBuffer
impl Default for hkxIndexBuffer
Source§impl<'de> Deserialize<'de> for hkxIndexBuffer
impl<'de> Deserialize<'de> for hkxIndexBuffer
Source§fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl HavokClass for hkxIndexBuffer
impl HavokClass for hkxIndexBuffer
Source§impl PartialEq for hkxIndexBuffer
impl PartialEq for hkxIndexBuffer
Auto Trait Implementations§
impl Freeze for hkxIndexBuffer
impl RefUnwindSafe for hkxIndexBuffer
impl Send for hkxIndexBuffer
impl Sync for hkxIndexBuffer
impl Unpin for hkxIndexBuffer
impl UnwindSafe for hkxIndexBuffer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more