pub struct hkMemoryMeshTexture<'a> {
pub __ptr: Option<Pointer>,
pub parent: hkMeshTexture,
pub m_filename: StringPtr<'a>,
pub m_data: Vec<u8>,
pub m_format: Format,
pub m_hasMipMaps: bool,
pub m_filterMode: FilterMode,
pub m_usageHint: TextureUsageType,
pub m_textureCoordChannel: i32,
}
Expand description
§C++ Info
- name:
hkMemoryMeshTexture
- version:
2
- signature:
0x2db6577c
- size:
32
(x86)/48
(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: hkMeshTexture
Alternative to C++ class inheritance.
m_filename: StringPtr<'a>
§C++ Info
- name:
filename
(ctype:hkStringPtr
) - offset:
8
(x86)/16
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_data: Vec<u8>
§C++ Info
- name:
data
(ctype:hkArray<hkUint8>
) - offset:
12
(x86)/24
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_format: Format
§C++ Info
- name:
format
(ctype:enum Format
) - offset:
24
(x86)/40
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_hasMipMaps: bool
§C++ Info
- name:
hasMipMaps
(ctype:hkBool
) - offset:
25
(x86)/41
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_filterMode: FilterMode
§C++ Info
- name:
filterMode
(ctype:enum FilterMode
) - offset:
26
(x86)/42
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_usageHint: TextureUsageType
§C++ Info
- name:
usageHint
(ctype:enum TextureUsageType
) - offset:
27
(x86)/43
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_textureCoordChannel: i32
§C++ Info
- name:
textureCoordChannel
(ctype:hkInt32
) - offset:
28
(x86)/44
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl<'a> Clone for hkMemoryMeshTexture<'a>
impl<'a> Clone for hkMemoryMeshTexture<'a>
Source§impl<'a> Debug for hkMemoryMeshTexture<'a>
impl<'a> Debug for hkMemoryMeshTexture<'a>
Source§impl<'a> Default for hkMemoryMeshTexture<'a>
impl<'a> Default for hkMemoryMeshTexture<'a>
Source§impl<'de> Deserialize<'de> for hkMemoryMeshTexture<'de>
impl<'de> Deserialize<'de> for hkMemoryMeshTexture<'de>
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<'a> HavokClass for hkMemoryMeshTexture<'a>
impl<'a> HavokClass for hkMemoryMeshTexture<'a>
Source§impl<'a> PartialEq for hkMemoryMeshTexture<'a>
impl<'a> PartialEq for hkMemoryMeshTexture<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkMemoryMeshTexture<'a>
impl<'a> RefUnwindSafe for hkMemoryMeshTexture<'a>
impl<'a> Send for hkMemoryMeshTexture<'a>
impl<'a> Sync for hkMemoryMeshTexture<'a>
impl<'a> Unpin for hkMemoryMeshTexture<'a>
impl<'a> UnwindSafe for hkMemoryMeshTexture<'a>
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