Trait vulkano::descriptor::pipeline_layout::PipelineLayoutAbstract
[−]
[src]
pub unsafe trait PipelineLayoutAbstract: PipelineLayoutDesc + DeviceOwned { fn sys(&self) -> PipelineLayoutSys; fn descriptor_set_layout(
&self,
index: usize
) -> Option<&Arc<UnsafeDescriptorSetLayout>>; }
Trait for objects that describe the layout of the descriptors and push constants of a pipeline.
Required Methods
fn sys(&self) -> PipelineLayoutSys
Returns an opaque object that allows internal access to the pipeline layout.
Can be obtained by calling PipelineLayoutAbstract::sys()
on the pipeline layout.
Note: This is an internal function that you normally don't need to call.
fn descriptor_set_layout(
&self,
index: usize
) -> Option<&Arc<UnsafeDescriptorSetLayout>>
&self,
index: usize
) -> Option<&Arc<UnsafeDescriptorSetLayout>>
Returns the UnsafeDescriptorSetLayout
object of the specified set index.
Returns None
if out of range or if the set is empty for this index.
Implementors
impl<D> PipelineLayoutAbstract for PipelineLayout<D> where
D: PipelineLayoutDesc,impl<T> PipelineLayoutAbstract for T where
T: SafeDeref,
T::Target: PipelineLayoutAbstract,impl<Pl> PipelineLayoutAbstract for ComputePipeline<Pl> where
Pl: PipelineLayoutAbstract,impl<Mv, L, Rp> PipelineLayoutAbstract for GraphicsPipeline<Mv, L, Rp> where
L: PipelineLayoutAbstract,