[][src]Struct bedrock::PipelineLayout

pub struct PipelineLayout(_, _);

Opaque handle to a pipeline layout object

Methods

impl PipelineLayout[src]

Following methods are enabled with [feature = "Implements"]

pub fn new(
    device: &Device,
    layouts: &[&DescriptorSetLayout],
    push_constants: &[(ShaderStage, Range<u32>)]
) -> Result<Self>
[src]

Creates a new pipeline layout object

Failures

On failure, this command returns

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY

Trait Implementations

impl DeviceChild for PipelineLayout[src]

impl Drop for PipelineLayout[src]

impl VkHandle for PipelineLayout[src]

type Handle = VkPipelineLayout

Auto Trait Implementations

impl !RefUnwindSafe for PipelineLayout

impl !Send for PipelineLayout

impl !Sync for PipelineLayout

impl Unpin for PipelineLayout

impl !UnwindSafe for PipelineLayout

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.