Enum vulkano::pipeline::PipelineBindPoint
source · [−]#[non_exhaustive]
#[repr(i32)]
pub enum PipelineBindPoint {
Compute,
Graphics,
}
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.
Compute
Graphics
Trait Implementations
sourceimpl Clone for PipelineBindPoint
impl Clone for PipelineBindPoint
sourcefn clone(&self) -> PipelineBindPoint
fn clone(&self) -> PipelineBindPoint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PipelineBindPoint
impl Debug for PipelineBindPoint
sourceimpl From<PipelineBindPoint> for PipelineBindPoint
impl From<PipelineBindPoint> for PipelineBindPoint
sourcefn from(val: PipelineBindPoint) -> Self
fn from(val: PipelineBindPoint) -> Self
Converts to this type from the input type.
sourceimpl Hash for PipelineBindPoint
impl Hash for PipelineBindPoint
sourceimpl PartialEq<PipelineBindPoint> for PipelineBindPoint
impl PartialEq<PipelineBindPoint> for PipelineBindPoint
sourcefn eq(&self, other: &PipelineBindPoint) -> bool
fn eq(&self, other: &PipelineBindPoint) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more