pub struct ConstantMapping {
pub buffer: u16,
pub start: u16,
pub count: u16,
pub target: u16,
pub conversion: [u8; 4],
}Expand description
One range of a constant buffer copied into float constant registers.
Fields§
§buffer: u16The constant buffer (cb#).
start: u16The buffer’s first register copied.
count: u16The registers copied.
target: u16The first float constant register (c#) they go to.
conversion: [u8; 4]How each component converts, x to w: 0 float, 1 bool, 2 int, 3 uint.
Trait Implementations§
Source§impl Clone for ConstantMapping
impl Clone for ConstantMapping
Source§impl Debug for ConstantMapping
impl Debug for ConstantMapping
impl Eq for ConstantMapping
Source§impl PartialEq for ConstantMapping
impl PartialEq for ConstantMapping
impl StructuralPartialEq for ConstantMapping
Auto Trait Implementations§
impl Forget for ConstantMapping
impl Freeze for ConstantMapping
impl RefUnwindSafe for ConstantMapping
impl Send for ConstantMapping
impl Sync for ConstantMapping
impl Unpin for ConstantMapping
impl UnsafeUnpin for ConstantMapping
impl UnwindSafe for ConstantMapping
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