pub struct VertexPipelineDesc {
pub vertex_shader: Shader,
pub tessellation_control_shader: Option<Shader>,
pub tessellation_evaluation_shader: Option<Shader>,
pub geometry_shader: Option<Shader>,
pub fragment_shader: Option<Shader>,
}
Expand description
Fields§
§vertex_shader: Shader
§tessellation_control_shader: Option<Shader>
§tessellation_evaluation_shader: Option<Shader>
§geometry_shader: Option<Shader>
§fragment_shader: Option<Shader>
Trait Implementations§
Source§impl Clone for VertexPipelineDesc
impl Clone for VertexPipelineDesc
Source§fn clone(&self) -> VertexPipelineDesc
fn clone(&self) -> VertexPipelineDesc
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<VertexPipelineDesc> for GraphicsPipelineDesc
impl From<VertexPipelineDesc> for GraphicsPipelineDesc
Source§fn from(desc: VertexPipelineDesc) -> Self
fn from(desc: VertexPipelineDesc) -> Self
Converts to this type from the input type.
impl Copy for VertexPipelineDesc
Auto Trait Implementations§
impl Freeze for VertexPipelineDesc
impl RefUnwindSafe for VertexPipelineDesc
impl Send for VertexPipelineDesc
impl Sync for VertexPipelineDesc
impl Unpin for VertexPipelineDesc
impl UnwindSafe for VertexPipelineDesc
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