pub enum Output {
Position,
Color0,
Color1,
BackColor0,
BackColor1,
FogCoord,
PointSize,
TexCoord(u8),
Other(u8),
}Expand description
An output the program writes.
Variants§
Position
The clip-space position (destination 0).
Color0
The first colour (1).
Color1
The second colour (2).
BackColor0
The first back-face colour (3).
BackColor1
The second back-face colour (4).
FogCoord
The fog coordinate (5).
PointSize
Destination 6, the point size in the nouveau driver’s naming. On the programs of Tony Hawk’s SHRED it is written with all four lanes by 48 programs (their output mask has bit 13 set) and with the x lane alone by one (bit 5).
TexCoord(u8)
Texture coordinate set n (destination 7 + n, 0 to 9).
Other(u8)
A destination field value nothing here names (17 to 30).
Implementations§
Trait Implementations§
impl Copy for Output
impl Eq for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Forget for Output
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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