Struct naga::back::hlsl::FragmentEntryPoint
source · pub struct FragmentEntryPoint<'a> { /* private fields */ }
Expand description
A fragment entry point to be considered when generating HLSL for the output interface of vertex entry points.
This is provided as an optional parameter to Writer::write
.
If this is provided, vertex outputs will be removed if they are not inputs of this fragment entry point. This is necessary for generating correct HLSL when some of the vertex shader outputs are not consumed by the fragment shader.
Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for FragmentEntryPoint<'a>
impl<'a> Send for FragmentEntryPoint<'a>
impl<'a> Sync for FragmentEntryPoint<'a>
impl<'a> Unpin for FragmentEntryPoint<'a>
impl<'a> UnwindSafe for FragmentEntryPoint<'a>
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