Struct vulkano::descriptor::pipeline_layout::PipelineLayoutDescTweaks [−][src]
Transforms a PipelineLayoutDesc
.
Used to adjust automatically inferred PipelineLayoutDesc
s with information that cannot be inferred.
Implementations
impl<T> PipelineLayoutDescTweaks<T> where
T: PipelineLayoutDesc,
[src]
T: PipelineLayoutDesc,
pub fn new<I>(inner: T, dynamic_buffers: I) -> Self where
I: IntoIterator<Item = (usize, usize)>,
[src]
I: IntoIterator<Item = (usize, usize)>,
Describe a layout, ensuring that each (set, binding)
in dynamic_buffers
is a dynamic buffers.
Trait Implementations
impl<T> PipelineLayoutDesc for PipelineLayoutDescTweaks<T> where
T: PipelineLayoutDesc,
[src]
T: 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<T> RefUnwindSafe for PipelineLayoutDescTweaks<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for PipelineLayoutDescTweaks<T> where
T: Send,
T: Send,
impl<T> Sync for PipelineLayoutDescTweaks<T> where
T: Sync,
T: Sync,
impl<T> Unpin for PipelineLayoutDescTweaks<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for PipelineLayoutDescTweaks<T> where
T: UnwindSafe,
T: 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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn is_size_suitable(usize) -> bool
[src]
pub fn indiv_size() -> usize
[src]
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.
pub 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>,