pub struct ClassType {
pub name: String,
pub stride: u16,
pub textures: u16,
pub samplers: u16,
pub reserved: u16,
}Expand description
A class that implements an interface, by its place in the type table (its id).
Fields§
§name: StringThe class’s name.
stride: u16The constant buffer registers one instance’s data takes.
textures: u16The textures one instance holds.
samplers: u16The samplers one instance holds.
reserved: u16The low half of the record’s second word, 0 in every container seen.
Trait Implementations§
impl Eq for ClassType
impl StructuralPartialEq for ClassType
Auto Trait Implementations§
impl Forget for ClassType
impl Freeze for ClassType
impl RefUnwindSafe for ClassType
impl Send for ClassType
impl Sync for ClassType
impl Unpin for ClassType
impl UnsafeUnpin for ClassType
impl UnwindSafe for ClassType
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