#[repr(C)]pub struct MaterialSystem {
pub vtable: *mut *mut usize,
}Expand description
“VMaterialSystem080” “materialsystem.dll”
Fields§
§vtable: *mut *mut usizeImplementations§
Source§impl MaterialSystem
impl MaterialSystem
pub fn ReloadTextures(&mut self)
pub fn ReloadMaterials(&mut self, pSubString: *const c_char)
pub fn CreateMaterial( &mut self, mat_name: *const c_char, vmt_kv: *const c_void, ) -> *mut c_void
pub fn FindMaterial( &mut self, mat_name: *const c_char, texture_group_name: *const c_char, complain: bool, complain_prefix: *const c_char, ) -> *mut c_void
pub fn FirstMaterial(&mut self) -> c_ushort
pub fn NextMaterial(&mut self, handle: c_ushort) -> c_ushort
pub fn InvalidMaterial(&mut self) -> c_ushort
pub fn GetMaterial(&mut self, handle: c_ushort) -> *mut c_void
Auto Trait Implementations§
impl Freeze for MaterialSystem
impl RefUnwindSafe for MaterialSystem
impl !Send for MaterialSystem
impl !Sync for MaterialSystem
impl Unpin for MaterialSystem
impl UnwindSafe for MaterialSystem
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