pub struct PipelineDesc {
pub primitive_type: PrimitiveType,
pub shader: ShaderPtr,
pub buffer_layouts: Vec<VertexBufferLayout>,
pub uniform_descs: Vec<UniformDataDesc>,
pub index_type: IndexType,
pub face_winding: FaceWinding,
pub cull_mode: CullMode,
pub depth_write: bool,
pub depth_test: bool,
pub blend: BlendOp,
}
Fields§
§primitive_type: PrimitiveType
§shader: ShaderPtr
§buffer_layouts: Vec<VertexBufferLayout>
§uniform_descs: Vec<UniformDataDesc>
§index_type: IndexType
§face_winding: FaceWinding
§cull_mode: CullMode
§depth_write: bool
§depth_test: bool
§blend: BlendOp
Trait Implementations§
Source§impl Clone for PipelineDesc
impl Clone for PipelineDesc
Source§fn clone(&self) -> PipelineDesc
fn clone(&self) -> PipelineDesc
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PipelineDesc
impl !RefUnwindSafe for PipelineDesc
impl !Send for PipelineDesc
impl !Sync for PipelineDesc
impl Unpin for PipelineDesc
impl !UnwindSafe for PipelineDesc
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