#[repr(C)]
pub struct Material {
pub vtable: u64,
pub m_colors: MaterialColor,
pub m_p_mem: *mut c_void,
pub m_p_shader_info: *const c_void,
pub m_p_name: *const c_char,
pub m_vertex_shader_constant_buffer_offset: u32,
pub m_pixel_shader_constant_buffer_offset: u32,
pub m_p_user_shader_constant_buffer_information: *const c_void,
pub m_p_blend_state: *const c_void,
pub m_packed_values: u8,
pub m_flag: u8,
pub m_shader_variation: u16,
/* private fields */
}
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.