[−][src]Struct vulkano::descriptor::pipeline_layout::RuntimePipelineDesc
Runtime description of a pipeline layout.
Methods
impl RuntimePipelineDesc
[src]
pub fn new<TSetsIter, TPushConstsIter, TDescriptorsIter>(
desc: TSetsIter,
push_constants: TPushConstsIter
) -> Result<RuntimePipelineDesc, RuntimePipelineDescError> where
TSetsIter: IntoIterator<Item = TDescriptorsIter>,
TDescriptorsIter: IntoIterator<Item = Option<DescriptorDesc>>,
TPushConstsIter: IntoIterator<Item = PipelineLayoutDescPcRange>,
[src]
desc: TSetsIter,
push_constants: TPushConstsIter
) -> Result<RuntimePipelineDesc, RuntimePipelineDescError> where
TSetsIter: IntoIterator<Item = TDescriptorsIter>,
TDescriptorsIter: IntoIterator<Item = Option<DescriptorDesc>>,
TPushConstsIter: IntoIterator<Item = PipelineLayoutDescPcRange>,
Builds a new RuntimePipelineDesc
from the descriptors and push constants descriptions.
Trait Implementations
impl PipelineLayoutDesc for RuntimePipelineDesc
[src]
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,
impl Clone for RuntimePipelineDesc
[src]
fn clone(&self) -> RuntimePipelineDesc
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RuntimePipelineDesc
[src]
Auto Trait Implementations
impl Send for RuntimePipelineDesc
impl Unpin for RuntimePipelineDesc
impl Sync for RuntimePipelineDesc
impl UnwindSafe for RuntimePipelineDesc
impl RefUnwindSafe for RuntimePipelineDesc
Blanket Implementations
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,