Enum vulkano::pipeline::PipelineBindPoint
source · #[non_exhaustive]#[repr(i32)]pub enum PipelineBindPoint {
Compute = 1,
Graphics = 0,
}
Expand description
The type of a pipeline.
When binding a pipeline or descriptor sets in a command buffer, the state for each bind point
is independent from the others. This means that it is possible, for example, to bind a graphics
pipeline without disturbing any bound compute pipeline. Likewise, binding descriptor sets for
the Compute
bind point does not affect sets that were bound to the Graphics
bind point.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for PipelineBindPoint
impl Clone for PipelineBindPoint
source§fn clone(&self) -> PipelineBindPoint
fn clone(&self) -> PipelineBindPoint
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 Debug for PipelineBindPoint
impl Debug for PipelineBindPoint
source§impl From<PipelineBindPoint> for PipelineBindPoint
impl From<PipelineBindPoint> for PipelineBindPoint
source§fn from(val: PipelineBindPoint) -> Self
fn from(val: PipelineBindPoint) -> Self
Converts to this type from the input type.
source§impl Hash for PipelineBindPoint
impl Hash for PipelineBindPoint
source§impl PartialEq for PipelineBindPoint
impl PartialEq for PipelineBindPoint
source§fn eq(&self, other: &PipelineBindPoint) -> bool
fn eq(&self, other: &PipelineBindPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<PipelineBindPoint> for PipelineBindPoint
impl TryFrom<PipelineBindPoint> for PipelineBindPoint
impl Copy for PipelineBindPoint
impl Eq for PipelineBindPoint
impl StructuralEq for PipelineBindPoint
impl StructuralPartialEq for PipelineBindPoint
Auto Trait Implementations§
impl RefUnwindSafe for PipelineBindPoint
impl Send for PipelineBindPoint
impl Sync for PipelineBindPoint
impl Unpin for PipelineBindPoint
impl UnwindSafe for PipelineBindPoint
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