pub enum Precision {
Default,
Min16,
Min2_8,
Unnamed,
}Expand description
The minimum precision of an operand (D3DSP_MIN_PRECISION, bits 14 to 15 of a destination or source token), which
fxc writes in a feature level 9 program’s Direct3D 9 part for a min16float value. Microsoft’s listing writes it
after the operand: {min16f}, {min2_8f}, nothing for 3. A relative-address or predicate token’s bits 14 to 15
mean nothing; it ignores them.
Variants§
Default
0, the precision of the register (D3DMP_DEFAULT).
Min16
1, at least 16 bits (D3DMP_16, {min16f}).
Min2_8
2, at least 2.8 fixed point (D3DMP_2_8, {min2_8f}).
Unnamed
3, which d3d9types.h does not name and the listing writes nothing for.
Implementations§
Trait Implementations§
impl Copy for Precision
impl Eq for Precision
impl StructuralPartialEq for Precision
Auto Trait Implementations§
impl Forget for Precision
impl Freeze for Precision
impl RefUnwindSafe for Precision
impl Send for Precision
impl Sync for Precision
impl Unpin for Precision
impl UnsafeUnpin for Precision
impl UnwindSafe for Precision
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