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> Freeze for FragmentShaderState<'a>
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> UnsafeUnpin for FragmentShaderState<'a>
impl<'a> UnwindSafe for FragmentShaderState<'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