Struct wgpu_biolerless::FragmentShaderState
source · [−]pub struct FragmentShaderState<'a> {
pub entry_point: &'a str,
pub targets: &'a [Option<ColorTargetState>],
}Fields
entry_point: &'a strThe name of the entry point in the compiled shader. There must be a function that returns void with this name in the shader.
targets: &'a [Option<ColorTargetState>]The color state of the render targets.
Auto Trait Implementations
impl<'a> RefUnwindSafe for FragmentShaderState<'a>
impl<'a> Send for FragmentShaderState<'a>
impl<'a> Sync for FragmentShaderState<'a>
impl<'a> Unpin for FragmentShaderState<'a>
impl<'a> UnwindSafe for FragmentShaderState<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more