pub struct FragmentState { /* private fields */ }Expand description
The pipeline’s fragment stage: which shader runs, and how it writes to the color attachments.
Implementations§
Source§impl FragmentState
impl FragmentState
pub fn get_module(&self) -> JsValue
pub fn get_entry_point(&self) -> String
pub fn get_targets(&self) -> &Vec<ColorTargetState>
Source§impl FragmentState
impl FragmentState
Trait Implementations§
Source§impl Clone for FragmentState
impl Clone for FragmentState
Auto Trait Implementations§
impl Freeze for FragmentState
impl RefUnwindSafe for FragmentState
impl Send for FragmentState
impl Sync for FragmentState
impl Unpin for FragmentState
impl UnsafeUnpin for FragmentState
impl UnwindSafe for FragmentState
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