pub struct VertexState {
pub module: JsValue,
pub entry_point: String,
/* private fields */
}Expand description
The pipeline’s vertex stage: which shader runs, and how the vertex buffers feed it.
Fields§
§module: JsValueThe GpuShaderModule compiled from WGSL source.
entry_point: StringThe @vertex entry point’s name inside that module.
Implementations§
Source§impl VertexState
impl VertexState
pub fn get_module(&self) -> JsValue
pub fn get_entry_point(&self) -> String
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