pub struct hkMemoryMeshVertexBuffer {
pub __ptr: Option<Pointer>,
pub parent: hkMeshVertexBuffer,
pub m_format: hkVertexFormat,
pub m_elementOffsets: [i32; 32],
pub m_memory: Vec<u8>,
pub m_vertexStride: i32,
pub m_locked: bool,
pub m_numVertices: i32,
pub m_isBigEndian: bool,
pub m_isSharable: bool,
}
Expand description
§C++ Info
- name:
hkMemoryMeshVertexBuffer
- version:
1
- signature:
0xa2e50753
- size:
424
(x86)/440
(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: hkMeshVertexBuffer
Alternative to C++ class inheritance.
m_format: hkVertexFormat
§C++ Info
- name:
format
(ctype:struct hkVertexFormat
) - offset:
8
(x86)/16
(x86_64) - type_size:
260
(x86)/260
(x86_64)
m_elementOffsets: [i32; 32]
§C++ Info
- name:
elementOffsets
(ctype:hkInt32[32]
) - offset:
268
(x86)/276
(x86_64) - type_size:
128
(x86)/128
(x86_64)
m_memory: Vec<u8>
§C++ Info
- name:
memory
(ctype:hkArray<hkUint8>
) - offset:
396
(x86)/408
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_vertexStride: i32
§C++ Info
- name:
vertexStride
(ctype:hkInt32
) - offset:
408
(x86)/424
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_locked: bool
§C++ Info
- name:
locked
(ctype:hkBool
) - offset:
412
(x86)/428
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_numVertices: i32
§C++ Info
- name:
numVertices
(ctype:hkInt32
) - offset:
416
(x86)/432
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_isBigEndian: bool
§C++ Info
- name:
isBigEndian
(ctype:hkBool
) - offset:
420
(x86)/436
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_isSharable: bool
§C++ Info
- name:
isSharable
(ctype:hkBool
) - offset:
421
(x86)/437
(x86_64) - type_size:
1
(x86)/1
(x86_64)
Trait Implementations§
Source§impl Clone for hkMemoryMeshVertexBuffer
impl Clone for hkMemoryMeshVertexBuffer
Source§impl Debug for hkMemoryMeshVertexBuffer
impl Debug for hkMemoryMeshVertexBuffer
Source§impl Default for hkMemoryMeshVertexBuffer
impl Default for hkMemoryMeshVertexBuffer
Source§impl<'de> Deserialize<'de> for hkMemoryMeshVertexBuffer
impl<'de> Deserialize<'de> for hkMemoryMeshVertexBuffer
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 PartialEq for hkMemoryMeshVertexBuffer
impl PartialEq for hkMemoryMeshVertexBuffer
Auto Trait Implementations§
impl Freeze for hkMemoryMeshVertexBuffer
impl RefUnwindSafe for hkMemoryMeshVertexBuffer
impl Send for hkMemoryMeshVertexBuffer
impl Sync for hkMemoryMeshVertexBuffer
impl Unpin for hkMemoryMeshVertexBuffer
impl UnwindSafe for hkMemoryMeshVertexBuffer
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