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