Struct screen_13::driver::GraphicPipeline
source · [−]pub struct GraphicPipeline<P> where
P: SharedPointerKind, {
pub descriptor_bindings: DescriptorBindingMap,
pub descriptor_info: PipelineDescriptorInfo<P>,
pub info: GraphicPipelineInfo,
pub input_attachments: HashSet<AttachmentIndex>,
pub layout: PipelineLayout,
pub push_constants: Vec<PushConstantRange>,
pub state: GraphicPipelineState,
pub write_attachments: HashSet<AttachmentIndex>,
/* private fields */
}Fields
descriptor_bindings: DescriptorBindingMapdescriptor_info: PipelineDescriptorInfo<P>info: GraphicPipelineInfoinput_attachments: HashSet<AttachmentIndex>layout: PipelineLayoutpush_constants: Vec<PushConstantRange>state: GraphicPipelineStatewrite_attachments: HashSet<AttachmentIndex>Implementations
sourceimpl<P> GraphicPipeline<P> where
P: SharedPointerKind,
impl<P> GraphicPipeline<P> where
P: SharedPointerKind,
pub fn create<S>(
device: &SharedPointer<Device<P>, P>,
info: impl Into<GraphicPipelineInfo>,
shaders: impl IntoIterator<Item = S>
) -> Result<Self, DriverError> where
S: Into<Shader>,
pub fn stages(&self) -> ShaderStageFlags
Trait Implementations
sourceimpl<P: Debug> Debug for GraphicPipeline<P> where
P: SharedPointerKind,
impl<P: Debug> Debug for GraphicPipeline<P> where
P: SharedPointerKind,
sourceimpl<P> Drop for GraphicPipeline<P> where
P: SharedPointerKind,
impl<P> Drop for GraphicPipeline<P> where
P: SharedPointerKind,
Auto Trait Implementations
impl<P> !RefUnwindSafe for GraphicPipeline<P>
impl<P> Send for GraphicPipeline<P> where
P: Send,
impl<P> Sync for GraphicPipeline<P> where
P: Sync,
impl<P> Unpin for GraphicPipeline<P> where
P: Unpin,
impl<P> !UnwindSafe for GraphicPipeline<P>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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