pub struct RegisterRange {
pub lower: u32,
pub upper: u32,
pub space: u32,
}Expand description
The registers a Shader Model 5.1 declaration binds and their register space (T1[4:7], space=1). Shader Model 5.0
declares each register on its own, in space 0; 5.1 names the resource by an id (the declaration’s slot) and
instructions by the id and a register of the range.
Fields§
§lower: u32The first register.
upper: u32The last register; u32::MAX for an array of no stated size (T0[0:*]).
space: u32The register space.
Trait Implementations§
Source§impl Clone for RegisterRange
impl Clone for RegisterRange
impl Copy for RegisterRange
Source§impl Debug for RegisterRange
impl Debug for RegisterRange
impl Eq for RegisterRange
Source§impl PartialEq for RegisterRange
impl PartialEq for RegisterRange
impl StructuralPartialEq for RegisterRange
Auto Trait Implementations§
impl Forget for RegisterRange
impl Freeze for RegisterRange
impl RefUnwindSafe for RegisterRange
impl Send for RegisterRange
impl Sync for RegisterRange
impl Unpin for RegisterRange
impl UnsafeUnpin for RegisterRange
impl UnwindSafe for RegisterRange
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