[−][src]Struct vulkano::descriptor::pipeline_layout::PipelineLayout
Wrapper around the PipelineLayout
Vulkan object. Describes to the Vulkan implementation the
descriptor sets and push constants available to your shaders
Implementations
impl<L> PipelineLayout<L> where
L: PipelineLayoutDesc,
[src]
L: PipelineLayoutDesc,
pub fn new(
device: Arc<Device>,
desc: L
) -> Result<PipelineLayout<L>, PipelineLayoutCreationError>
[src]
device: Arc<Device>,
desc: L
) -> Result<PipelineLayout<L>, PipelineLayoutCreationError>
Creates a new PipelineLayout
.
Panic
- Panics if one of the layout returned by
provided_set_layout()
belongs to a different device than the one passed as parameter.
impl<L> PipelineLayout<L> where
L: PipelineLayoutDesc,
[src]
L: PipelineLayoutDesc,
Trait Implementations
impl<D> Debug for PipelineLayout<D> where
D: Debug,
[src]
D: Debug,
impl<D> DeviceOwned for PipelineLayout<D>
[src]
impl<L> Drop for PipelineLayout<L>
[src]
impl<D> PipelineLayoutAbstract for PipelineLayout<D> where
D: PipelineLayoutDesc,
[src]
D: PipelineLayoutDesc,
fn sys(&self) -> PipelineLayoutSys<'_>
[src]
fn descriptor_set_layout(
&self,
index: usize
) -> Option<&Arc<UnsafeDescriptorSetLayout>>
[src]
&self,
index: usize
) -> Option<&Arc<UnsafeDescriptorSetLayout>>
impl<D> PipelineLayoutDesc for PipelineLayout<D> where
D: PipelineLayoutDesc,
[src]
D: PipelineLayoutDesc,
fn num_sets(&self) -> usize
[src]
fn num_bindings_in_set(&self, set: usize) -> Option<usize>
[src]
fn descriptor(&self, set: usize, binding: usize) -> Option<DescriptorDesc>
[src]
fn num_push_constants_ranges(&self) -> usize
[src]
fn push_constants_range(&self, num: usize) -> Option<PipelineLayoutDescPcRange>
[src]
fn provided_set_layout(
&self,
_set: usize
) -> Option<Arc<UnsafeDescriptorSetLayout>>
[src]
&self,
_set: usize
) -> Option<Arc<UnsafeDescriptorSetLayout>>
fn union<T>(self, other: T) -> PipelineLayoutDescUnion<Self, T> where
Self: Sized,
[src]
Self: Sized,
fn check_against_limits(
&self,
device: &Device
) -> Result<(), PipelineLayoutLimitsError>
[src]
&self,
device: &Device
) -> Result<(), PipelineLayoutLimitsError>
fn build(
self,
device: Arc<Device>
) -> Result<PipelineLayout<Self>, PipelineLayoutCreationError> where
Self: Sized,
[src]
self,
device: Arc<Device>
) -> Result<PipelineLayout<Self>, PipelineLayoutCreationError> where
Self: Sized,
Auto Trait Implementations
impl<L> RefUnwindSafe for PipelineLayout<L> where
L: RefUnwindSafe,
L: RefUnwindSafe,
impl<L> Send for PipelineLayout<L> where
L: Send,
L: Send,
impl<L> Sync for PipelineLayout<L> where
L: Sync,
L: Sync,
impl<L> Unpin for PipelineLayout<L> where
L: Unpin,
L: Unpin,
impl<L> UnwindSafe for PipelineLayout<L> where
L: UnwindSafe,
L: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> DeviceOwned for T where
T: Deref,
<T as Deref>::Target: DeviceOwned,
[src]
T: Deref,
<T as Deref>::Target: DeviceOwned,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,